author | hgs |
Fri, 14 May 2010 18:43:44 -0500 | |
changeset 20 | 7e3786c5ed27 |
parent 18 | 5824eee55f42 |
permissions | -rw-r--r-- |
#include <hbmainwindow.h> #include <hbview.h> //#include <hbformview.h> #include "views.h" // Helper methods for retrieving the views used in this application namespace Views { // Store the mainwindow ptr here because we cannot call HbWidget::mainWindow() from these static functions. HbMainWindow *win; /*! Returns the pointer to folder view. */ HbView *folderView() { // 0 since folderView was added first to the main window return win->viewAt(0); } }