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