Diffstat (limited to 'noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp b/noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp new file mode 100644 index 0000000..0d6e25f --- a/dev/null +++ b/noncore/graphics/opie-eye/impl/doc/doc_dirview.cpp | |||
@@ -0,0 +1,28 @@ | |||
1 | #include "doc_lister.h" | ||
2 | #include "doc_ifaceinfo.h" | ||
3 | #include "doc_dirview.h" | ||
4 | |||
5 | PHUNK_VIEW_INTERFACE("Document View", Doc_DirView ); | ||
6 | |||
7 | |||
8 | Doc_DirView::Doc_DirView( const Config& cfg) | ||
9 | : PDirView(cfg) | ||
10 | { | ||
11 | m_lister = 0; | ||
12 | m_info = 0; | ||
13 | } | ||
14 | |||
15 | Doc_DirView::~Doc_DirView() { | ||
16 | } | ||
17 | |||
18 | PInterfaceInfo* Doc_DirView::interfaceInfo()const{ | ||
19 | if (!m_info ) | ||
20 | m_info =new DocInterfaceInfo; | ||
21 | return m_info; | ||
22 | } | ||
23 | |||
24 | PDirLister* Doc_DirView::dirLister()const{ | ||
25 | if (!m_lister ) | ||
26 | m_lister = new Doc_DirLister(); | ||
27 | return m_lister; | ||
28 | } | ||