|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : CLFExample.hrh 00004 * Part of : Content Listing Framework Sample Application 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 00017 #ifndef __CLFEXAMPLE_HRH__ 00018 #define __CLFEXAMPLE_HRH__ 00019 00020 // DATA TYPES 00021 00022 enum // Commands for options menus 00023 { 00024 ECECmdExit = 0x6000, 00025 ECECmdOpen, 00026 ECECmdPlay, 00027 ECECmdStop, 00028 ECECmdSelect, 00029 00030 ECECmdGroup, 00031 ECECmdGroupByAllMusicFiles, 00032 ECECmdGroupByArtist, 00033 ECECmdGroupByAlbum, 00034 00035 ECECmdSort, 00036 ECECmdRename 00037 }; 00038 00039 enum TCEGrouping // State of grouping in the application 00040 { 00041 ECENoGrouping = 0, 00042 ECEGroupedByAll, 00043 ECEGroupedByAlbum, 00044 ECEGroupedByArtist 00045 }; 00046 00047 enum TCESortBy // For selecting sorting parameter 00048 { 00049 ECESortByAlbum = 0, 00050 ECESortByArtist, 00051 ECESortByTitle, 00052 ECESortByGenre, 00053 ECESortByFileDate, 00054 ECESortByRandom 00055 }; 00056 00057 enum TCESortingOrder // For selecting sort ordering 00058 { 00059 ECESortingOrderAscending = 0, 00060 ECESortingOrderDescending 00061 }; 00062 00063 enum TCESortPosition // For selecting a postion for items with no tag info 00064 { 00065 ECESortPositionBottom = 0, 00066 ECESortPositionTop 00067 }; 00068 00069 enum TCEPlayerState // State of the audio player 00070 { 00071 ECENotReady = 0, 00072 ECEReadyToPlay, 00073 ECEPlaying 00074 }; 00075 00076 #endif // __CLFEXAMPLE_HRH__ 00077 00078 // End of File
|
© Nokia 2009 |