equal
deleted
inserted
replaced
1 #include <hbmainwindow.h> |
|
2 #include <hbview.h> |
|
3 //#include <hbformview.h> |
|
4 |
|
5 #include "views.h" |
|
6 |
|
7 // Helper methods for retrieving the views used in this application |
|
8 namespace Views { |
|
9 |
|
10 // Store the mainwindow ptr here because we cannot call HbWidget::mainWindow() from these static functions. |
|
11 HbMainWindow *win; |
|
12 |
|
13 /*! |
|
14 Returns the pointer to folder view. |
|
15 */ |
|
16 HbView *folderView() |
|
17 { |
|
18 // 0 since folderView was added first to the main window |
|
19 return win->viewAt(0); |
|
20 } |
|
21 |
|
22 } |
|