gstreamer_test_apps/gstplayer/inc/gstplayerappui.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
     1 
       
     2 /*
       
     3 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
       
     4 *
       
     5 * This library is free software; you can redistribute it and/or
       
     6 * modify it under the terms of the GNU Lesser General Public
       
     7 * License as published by the Free Software Foundation; either
       
     8 * version 2 of the License, or (at your option) any later version.
       
     9 *
       
    10 * This library is distributed in the hope that it will be useful,
       
    11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       
    13 * Lesser General Public License for more details.
       
    14 *
       
    15 * You should have received a copy of the GNU Lesser General Public
       
    16 * License along with this library; if not, write to the
       
    17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
       
    18 * Boston, MA 02111-1307, USA.
       
    19 *
       
    20 * Description:
       
    21 *
       
    22 */
       
    23 /*
       
    24 * ==============================================================================
       
    25 *  Name        : gstplayerappui.h
       
    26 *  Part of     : gstplayer
       
    27 *  Interface   : 
       
    28 *  Description : 
       
    29 *  Version     : 
       
    30 *
       
    31 
       
    32 * ==============================================================================
       
    33 */
       
    34 
       
    35 #ifndef __GSTPLAYERAPPUI_H__
       
    36 #define __GSTPLAYERAPPUI_H__
       
    37 
       
    38 // INCLUDES
       
    39 #include <aknappui.h>
       
    40 #include <CAknFileSelectionDialog.h>
       
    41 #include <aknselectionlist.h> 
       
    42 
       
    43 
       
    44 // FORWARD DECLARATIONS
       
    45 class CGSTPlayerAppView;
       
    46 
       
    47 
       
    48 // CLASS DECLARATION
       
    49 /**
       
    50 * CGSTPlayerAppUi application UI class.
       
    51 * Interacts with the user through the UI and request message processing
       
    52 * from the handler class
       
    53 */
       
    54 class CGSTPlayerAppUi : public CAknAppUi
       
    55     {
       
    56     public: // Constructors and destructor
       
    57 
       
    58         /**
       
    59         * ConstructL.
       
    60         * 2nd phase constructor.
       
    61         */
       
    62         void ConstructL();
       
    63 
       
    64         /**
       
    65         * CGSTPlayerAppUi.
       
    66         * C++ default constructor. This needs to be public due to
       
    67         * the way the framework constructs the AppUi
       
    68         */
       
    69         CGSTPlayerAppUi();
       
    70 
       
    71         /**
       
    72         * ~CGSTPlayerAppUi.
       
    73         * Virtual Destructor.
       
    74         */
       
    75         virtual ~CGSTPlayerAppUi();
       
    76 
       
    77     private:  // Functions from base classes
       
    78 
       
    79         /**
       
    80         * From CEikAppUi, HandleCommandL.
       
    81         * Takes care of command handling.
       
    82         * @param aCommand Command to be handled.
       
    83         */
       
    84         void HandleCommandL( TInt aCommand );
       
    85 
       
    86         /**
       
    87         *  HandleStatusPaneSizeChange.
       
    88         *  Called by the framework when the application status pane
       
    89  		*  size is changed.
       
    90         */
       
    91 
       
    92 		void HandleStatusPaneSizeChange();
       
    93 		TBool ShowDirListL(TFileName &filePath); 
       
    94         
       
    95     private: // Data
       
    96 
       
    97         /**
       
    98         * The application view
       
    99         * Owned by CGSTPlayerAppUi
       
   100         */
       
   101         CGSTPlayerAppView* iAppView;       
       
   102         
       
   103     };
       
   104 
       
   105 #endif // __gstplayerAPPUI_H__
       
   106 
       
   107 // End of File
       
   108