summaryrefslogtreecommitdiffstats
path: root/k9devices/k9halconnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'k9devices/k9halconnection.h')
-rw-r--r--k9devices/k9halconnection.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/k9devices/k9halconnection.h b/k9devices/k9halconnection.h
deleted file mode 100644
index e4936df..0000000
--- a/k9devices/k9halconnection.h
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// C++ Interface: k9halconnection
-//
-// Description:
-//
-//
-// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2007
-//
-// Copyright: See COPYING file that comes with this distribution
-//
-//
-#include "k9common.h"
-
-#ifdef Q_MOC_RUN
-#define HAVE_HAL
-#endif // Q_MOC_RUN
-
-#ifdef HAVE_HAL
-#ifndef K9HALCONNECTION_H
-#define K9HALCONNECTION_H
-
-#include <tqobject.h>
-#include <tqptrlist.h>
-#include "k9dbusdispatch.h"
-/**
- @author Jean-Michel PETIT <k9copy@free.fr>
-*/
-
-class k9HalDevice;
-class DBusConnection;
-#ifdef DBUS_QT3
-class TQDBusConnection;
-#else
-namespace DBusTQt {
- class Connection;
-};
-#endif
-
-class k9HalConnection : public TQObject
-{
-Q_OBJECT
-
-friend class k9HalDevice;
-public:
- static k9HalConnection* getInstance();
- static void end();
-
- TQPtrList< k9HalDevice > getDevices() const { return m_devices;}
- void addDevice( const char* udi );
- void removeDevice( const char* udi );
- void testVolumeChanged( const char * udi);
- k9HalDevice *findDevice (const char* udi);
- k9HalDevice *findDeviceByVolume (const char* udi);
-signals:
- void deviceAdded(k9HalDevice *);
- void deviceRemoved(k9HalDevice*);
-private:
- TQPtrList <k9HalDevice> m_devices;
- void *m_context;
- DBusConnection * m_dbusConnect;
- K9DBusDispatch *m_dbusDispatch;
-private:
-
- k9HalConnection(TQObject *parent = 0, const char *name = 0);
-
- ~k9HalConnection();
-
-
-};
-
-#endif
-#endif