Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

mpdc.h File Reference

#include <iostream>
#include <qmessagebox.h>
#include <qstring.h>
#include "language.en"

Go to the source code of this file.

Defines

#define __VERSION   "0.3 rc1"
#define __AUTHORS   "Copyright (c) 2004 by A.E. van Putten and A.J. Admiraal. Licensed under the GPL. Visit engineering.kabel.utwente.nl for more information."
#define OLD_FOR_SCOPE_PATCH
#define test(expr, txt)
#define dbgConnect(sender, signal, receiver, slot)   if( !connect(sender,signal,receiver,slot ) ) std::cerr << __FILE__ << ":" << __LINE__ << " > " << "Slot not connected signal: " << #signal << " slot: " << #slot << std::endl;
#define debug(txt)   std::cout << __FILE__ << ":" << __LINE__ << " > " << txt << std::endl;

Enumerations

enum  status_t { T_OK = 0, T_WARNING = 1, T_ERROR = -1 }

Functions

QString secToHMS (unsigned s)
bool getSongArtist (QString filename, QString &song, QString &artist)
QString getArtist (QString filename)
QString getTitle (QString filename)


Define Documentation

#define __AUTHORS   "Copyright (c) 2004 by A.E. van Putten and A.J. Admiraal. Licensed under the GPL. Visit engineering.kabel.utwente.nl for more information."
 

#define __VERSION   "0.3 rc1"
 

#define dbgConnect sender,
signal,
receiver,
slot       if( !connect(sender,signal,receiver,slot ) ) std::cerr << __FILE__ << ":" << __LINE__ << " > " << "Slot not connected signal: " << #signal << " slot: " << #slot << std::endl;
 

#define debug txt       std::cout << __FILE__ << ":" << __LINE__ << " > " << txt << std::endl;
 

#define OLD_FOR_SCOPE_PATCH
 

#define test expr,
txt   
 

Value:

if(expr)               \
  {                                           \
    QMessageBox mb ( "Error", txt, QMessageBox::Warning, QMessageBox::Ok, QMessageBox::NoButton, QMessageBox::NoButton );       \
    mb.exec();                                \
    return;                                   \
  }


Enumeration Type Documentation

enum status_t
 

Enumeration values:
T_OK 
T_WARNING 
T_ERROR 


Function Documentation

QString getArtist QString    filename [inline]
 

bool getSongArtist QString    filename,
QString &    song,
QString &    artist
[inline]
 

QString getTitle QString    filename [inline]
 

QString secToHMS unsigned    s [inline]
 


Generated on Thu Mar 11 21:57:52 2004 for Music Playing Daemon client by doxygen1.2.15