gstreamer_test_apps/QtGSTPlayer/views.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:09:21 +0300
changeset 11 1373546e05c6
parent 9 2a0f36a70380
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

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