* 51 Franklin SQObject::treet, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <iostream>
-#include <fstream>
-
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
using namespace std;
-/*
-ofstream logfile;
-
-void MyOutputHandler(QtMsgType type, const char *msg) {
- switch (type) {
- case QtDebugMsg:
- logfile << QTime::currentTime().toString().toAscii().data() << " Debug: " << msg << "\n";
- break;
- case QtCriticalMsg:
- logfile << QTime::currentTime().toString().toAscii().data() << " Critical: " << msg << "\n";
- break;
- case QtWarningMsg:
- logfile << QTime::currentTime().toString().toAscii().data() << " Warning: " << msg << "\n";
- break;
- case QtFatalMsg:
- logfile << QTime::currentTime().toString().toAscii().data() << " Fatal: " << msg << "\n";
- abort();
- }
-}
-
-*/
-
int main(int argc, char ** argv)
{
-// logfile.open("/var/log/logfile.txt", ios::app);
-// #ifndef QT_NO_DEBUG_OUTPUT
-// qInstallMsgHandler(MyOutputHandler);
-// #endif
-
-
QCoreApplication app(argc, argv);
// register types:
qDBusRegisterMetaType<org::freedesktop::Telepathy::CapabilityPair>();
qDBusRegisterMetaType<org::freedesktop::Telepathy::CapabilityPairList>();
qDBusRegisterMetaType<org::freedesktop::Telepathy::CapabilityChange>();
- qDBusRegisterMetaType<org::freedesktop::Telepathy::CapabilityChangeList>();
+ qDBusRegisterMetaType<org::freedesktop::Telepathy::CapabilityChangeList>();
qDBusRegisterMetaType<org::freedesktop::Telepathy::RequestableChannelClass>();
qDBusRegisterMetaType<org::freedesktop::Telepathy::RequestableChannelClassList>();