aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer/mp_winampinterface.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
commitf2f47c5eaa7d284abad1f693d7c75c85c42565df (patch)
tree2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/mediaplayer/mp_winampinterface.cpp
parentMore work on the window popup (diff)
downloadKVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.gz
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.bz2
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.zip
Beginning of 'the big rename & cleanup'. File names should match class names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations...
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/mediaplayer/mp_winampinterface.cpp')
-rw-r--r--src/modules/mediaplayer/mp_winampinterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/mediaplayer/mp_winampinterface.cpp b/src/modules/mediaplayer/mp_winampinterface.cpp
index 3cafbe471..5b5938915 100644
--- a/src/modules/mediaplayer/mp_winampinterface.cpp
+++ b/src/modules/mediaplayer/mp_winampinterface.cpp
@@ -4,7 +4,7 @@
// Creation date : Mon 28 Mar 2005 23:41:50 by Szymon Stefanek
//
// This file is part of the KVIrc IRC client distribution
-// Copyright (C) 2005-2008 Szymon Stefanek <pragma at kvirc dot net>
+// Copyright (C) 2005-2010 Szymon Stefanek <pragma at kvirc dot net>
//
// This program is FREE software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -29,7 +29,7 @@
#include <QTextCodec>
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_module.h"
#include <windows.h>
@@ -377,7 +377,7 @@ bool KviWinampInterface::playMrl(const QString &mrl)
if(hWinamp)
{
QTextCodec *c=mediaplayer_get_codec();
- KviStr szMrl = c ? c->fromUnicode(mrl) : mrl.toUtf8();
+ KviCString szMrl = c ? c->fromUnicode(mrl) : mrl.toUtf8();
COPYDATASTRUCT cds;
cds.dwData = IPC_PLAYFILE;
cds.lpData = (void *)szMrl.ptr();