gstreamer_test_apps/QtGSTPlayer/views.cpp
author William Roberts <williamr@symbian.org>
Thu, 22 Jul 2010 16:36:00 +0100
branchGCC_SURGE
changeset 25 7ce29e50e9e1
parent 11 1373546e05c6
permissions -rw-r--r--
Catchup to latest Symbian^4

#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);
    }
    
}