gstreamer_test_apps/QtGSTPlayer/views.cpp
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     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 }