diff -r 9b2c3c7a1a9c -r 567bb019e3e3 gstreamer_test_apps/QtGSTPlayer/views.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gstreamer_test_apps/QtGSTPlayer/views.cpp Tue Aug 31 15:30:33 2010 +0300 @@ -0,0 +1,22 @@ +#include +#include +//#include + +#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); + } + +}