summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/iface/dirview.h
Unidiff
Diffstat (limited to 'noncore/graphics/opie-eye/iface/dirview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/iface/dirview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/iface/dirview.h b/noncore/graphics/opie-eye/iface/dirview.h
index 20d9062..3c05b60 100644
--- a/noncore/graphics/opie-eye/iface/dirview.h
+++ b/noncore/graphics/opie-eye/iface/dirview.h
@@ -3,30 +3,32 @@
3 * No WArranty... 3 * No WArranty...
4 */ 4 */
5 5
6#ifndef PHUNK_DIR_VIEW_H 6#ifndef PHUNK_DIR_VIEW_H
7#define PHUNK_DIR_VIEW_H 7#define PHUNK_DIR_VIEW_H
8 8
9#include <qmap.h> 9#include <qmap.h>
10 10
11#include <qpe/config.h> 11#include <qpe/config.h>
12 12
13class PInterfaceInfo; 13class PInterfaceInfo;
14class PDirLister; 14class PDirLister;
15class QWidget;
15 16
16struct PDirView { 17struct PDirView {
17 PDirView( const Config& ); 18 PDirView( const Config& );
18 virtual ~PDirView(); 19 virtual ~PDirView();
19 virtual PInterfaceInfo* interfaceInfo()const = 0; 20 virtual PInterfaceInfo* interfaceInfo()const = 0;
20 virtual PDirLister* dirLister()const = 0; 21 virtual PDirLister* dirLister()const = 0;
22 virtual QWidget* widget(QWidget*)=0;
21}; 23};
22 24
23typedef PDirView* (*phunkViewCreateFunc )(const Config& ); 25typedef PDirView* (*phunkViewCreateFunc )(const Config& );
24typedef QMap<QString,phunkViewCreateFunc> ViewMap; 26typedef QMap<QString,phunkViewCreateFunc> ViewMap;
25 27
26ViewMap* viewMap(); 28ViewMap* viewMap();
27PDirView* currentView(); 29PDirView* currentView();
28void setCurrentView( PDirView* ); 30void setCurrentView( PDirView* );
29 31
30 32
31 33
32#define PHUNK_VIEW_INTERFACE( NAME, IMPL ) \ 34#define PHUNK_VIEW_INTERFACE( NAME, IMPL ) \