aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer/mp_amipinterface.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_amipinterface.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_amipinterface.cpp')
-rw-r--r--src/modules/mediaplayer/mp_amipinterface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/mediaplayer/mp_amipinterface.cpp b/src/modules/mediaplayer/mp_amipinterface.cpp
index e8f49dab7..6d111db66 100644
--- a/src/modules/mediaplayer/mp_amipinterface.cpp
+++ b/src/modules/mediaplayer/mp_amipinterface.cpp
@@ -4,7 +4,7 @@
// Creation date : Sun 27 Mar 2005 16:55:09 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>
@@ -392,7 +392,7 @@ bool KviAmipInterface::amipExec(const QString &cmd)
{
if(!amip_dll) return false;
QTextCodec *c=mediaplayer_get_codec();
- KviStr szCmd = c ? c->fromUnicode(cmd) : cmd.toUtf8();
+ KviCString szCmd = c ? c->fromUnicode(cmd) : cmd.toUtf8();
return (ac_exec(szCmd) == AC_ERR_NOERROR);
}
@@ -401,7 +401,7 @@ QString KviAmipInterface::amipEval(const QString &cmd)
QString ret;
if(!amip_dll) return ret;
QTextCodec *c=mediaplayer_get_codec();
- KviStr szCmd = c ? c->fromUnicode(cmd) : cmd.toUtf8();
+ KviCString szCmd = c ? c->fromUnicode(cmd) : cmd.toUtf8();
char buff[AC_BUFFER_SIZE];
if((ac_eval(szCmd, buff) == AC_ERR_NOERROR)) {
QString s = buff;