00001 /*************************************************************************** 00002 * Copyright (C) 2004 by Frodo + PrAn * 00003 * * 00004 * This program is free software; you can redistribute it and/or modify * 00005 * it under the terms of the GNU General Public License as published by * 00006 * the Free Software Foundation; either version 2 of the License, or * 00007 * (at your option) any later version. * 00008 * * 00009 * This program is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU General Public License * 00015 * along with this program; if not, write to the * 00016 * Free Software Foundation, Inc., * 00017 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00018 ***************************************************************************/ 00019 00028 #ifndef C_CONTROL_KAFFEINE_H 00029 #define C_CONTROL_KAFFEINE_H 00030 00031 #include <dcopclient.h> 00032 #include <qstring.h> 00033 #include <qcstring.h> 00041 typedef class cControlKaffeine* P_KAFFEINE; 00042 00043 00054 class cControlKaffeine { 00055 00056 public: 00057 00067 cControlKaffeine(); 00068 00078 ~cControlKaffeine(); 00079 00089 bool KaffeineIsRunning(); 00090 00100 bool KaffeineIsPlaying(); 00101 00113 QString KaffeineGetTitle(); 00114 00126 QString KaffeineGetFileName(); 00127 00128 private: 00129 DCOPClient * client; 00130 QString title; 00131 QString filename; 00132 }; 00133 00134 #endif