diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-14 17:25:20 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-14 17:25:20 +0000 |
commit | 53ff4acbf341b20b772bdd87d06fed30e0d1b28a (patch) | |
tree | af2481bf55255c92f40254b6350cf43847ffa3dd /plugins/Variables/src/parse_external.cpp | |
parent | 127744a38a4bad16aa1cbf20c3824345a9644c5a (diff) |
minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@7647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/parse_external.cpp')
-rw-r--r-- | plugins/Variables/src/parse_external.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Variables/src/parse_external.cpp b/plugins/Variables/src/parse_external.cpp index 8ad844b0e7..dbdf91eb6c 100644 --- a/plugins/Variables/src/parse_external.cpp +++ b/plugins/Variables/src/parse_external.cpp @@ -102,10 +102,8 @@ static TCHAR *parseWinampState(ARGUMENTSINFO *ai) return mir_tstrdup(_T("Playing"));
}
-int registerExternalTokens()
+void registerExternalTokens()
{
- registerIntToken(_T(WINAMPSONG), parseWinampSong, TRF_FIELD, LPGEN("External Applications")"\t"LPGEN("retrieves song name of the song currently playing in Winamp"));
- registerIntToken(_T(WINAMPSTATE), parseWinampState, TRF_FIELD, LPGEN("External Applications")"\t"LPGEN("retrieves current Winamp state (Playing/Paused/Stopped)"));
-
- return 0;
+ registerIntToken(WINAMPSONG, parseWinampSong, TRF_FIELD, LPGEN("External Applications")"\t"LPGEN("retrieves song name of the song currently playing in Winamp"));
+ registerIntToken(WINAMPSTATE, parseWinampState, TRF_FIELD, LPGEN("External Applications")"\t"LPGEN("retrieves current Winamp state (Playing/Paused/Stopped)"));
}
\ No newline at end of file |