Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qtTsOverlay
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
C-Fu
qtTsOverlay
Commits
7c3b7fc2
Commit
7c3b7fc2
authored
Mar 02, 2017
by
Carsten Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
now there are hotkeys
parent
6fd223ee
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
3 deletions
+10
-3
Release/x64/qtTsOverlay_x64.dll
Release/x64/qtTsOverlay_x64.dll
+0
-0
Release/x64/qtTsOverlay_x64.exp
Release/x64/qtTsOverlay_x64.exp
+0
-0
Release/x64/qtTsOverlay_x64.lib
Release/x64/qtTsOverlay_x64.lib
+0
-0
plugin.cpp
plugin.cpp
+9
-2
plugin.h
plugin.h
+1
-1
No files found.
Release/x64/qtTsOverlay_x64.dll
View file @
7c3b7fc2
No preview for this file type
Release/x64/qtTsOverlay_x64.exp
View file @
7c3b7fc2
No preview for this file type
Release/x64/qtTsOverlay_x64.lib
View file @
7c3b7fc2
No preview for this file type
plugin.cpp
View file @
7c3b7fc2
...
...
@@ -107,11 +107,14 @@ OverlayController* getController(uint64 serverConnectionHandlerID = 0)
if
(
serverConnectionHandlerID
==
0
)
{
OverlayController
*
ret
=
NULL
;
for
(
auto
&
it
:
g_serverList
.
keys
())
{
int
tmp
;
anyID
ownID
;
ts3Functions
.
getClientID
(
it
,
&
ownID
);
if
(
ts3Functions
.
getClientSelfVariableAsInt
(
it
,
CLIENT_IS_MUTED
,
&
tmp
)
!=
ERROR_ok
)
if
(
ts3Functions
.
getClientSelfVariableAsInt
(
ownID
,
CLIENT_IS_MUTED
,
&
tmp
)
!=
ERROR_ok
)
if
(
tmp
==
0
)
ret
=
g_serverList
.
find
(
it
).
value
();
}
...
...
@@ -775,7 +778,11 @@ void ts3plugin_onHotkeyEvent(const char* keyword) {
printf
(
"PLUGIN: Hotkey event: %s
\n
"
,
keyword
);
if
(
QString
(
keyword
)
==
"Channellist"
)
getController
()
->
debugPrint
(
"WUHU"
);
{
auto
tmp
=
getController
();
if
(
tmp
!=
NULL
)
tmp
->
debugPrint
(
"WUHU"
);
}
}
/* Called when recording a hotkey has finished after calling ts3Functions.requestHotkeyInputDialog */
...
...
plugin.h
View file @
7c3b7fc2
...
...
@@ -41,7 +41,7 @@ extern "C" {
PLUGINS_EXPORTDLL
void
ts3plugin_freeMemory
(
void
*
data
);
PLUGINS_EXPORTDLL
int
ts3plugin_requestAutoload
();
//PLUGINS_EXPORTDLL void ts3plugin_initMenus(struct PluginMenuItem*** menuItems, char** menuIcon);
//
PLUGINS_EXPORTDLL void ts3plugin_initHotkeys(struct PluginHotkey*** hotkeys);
PLUGINS_EXPORTDLL
void
ts3plugin_initHotkeys
(
struct
PluginHotkey
***
hotkeys
);
/* Clientlib */
PLUGINS_EXPORTDLL
void
ts3plugin_onConnectStatusChangeEvent
(
uint64
serverConnectionHandlerID
,
int
newStatus
,
unsigned
int
errorNumber
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment