?? am_app_feature_server.h
字號:
#ifndef AM_APP_FEATURE_SERVER_CLASS /* To prevent inadvertently including a header twice */#define AM_APP_FEATURE_SERVER_CLASS/* (c) Copyright Motorola 1996, 1997, All rights reserved. Motorola Confidential Proprietary Contains confidential proprietary information of Motorola, Inc. Reverse engineering is prohibited. The copyright notice does not imply publication. DESCRIPTION: This file defines the AM_App_Feature_Server class. ************** REVISION HISTORY ********************************************** Date Author Reference ======== ======== ================ 00-08-09 mtaraba CR - CSGce55882 Eliminate file gsm.h from audio manager 99-10-08 ktang PR - CSGce39515 GRiEF - Convert the member functions to call DL_DbFeature* functions 98-11-04 blamers CR - CSGce23508 Whitecap VR Event Handler Changes - Update file to latest version. 97-09-09 ldanby PR - CSGce12966 - Fix TI compiler warning. Remove sz from return of new operator. Move new and delete operators to private. 97-08-11 gswanson PR - CSGce12130 Unique Ringer Tone - Added function to get the current value of a feature when the value that needs to be returned is larger than a byte. (Rather than the other functions which can't return something that large).*//************** HEADER FILE INCLUDES ******************************************/#include <SUAPI/suapi.h>#include <stddef.h>#include <SYNERGY_DEVICE_LAYER/dl_db_feature_auf.h>/************** CONSTANTS *****************************************************//************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************//************** FUNCTION PROTOTYPES *******************************************//************** MACROS ********************************************************//************** CLASS DEFINITIONS *********************************************/class AM_App_Feature_Server {public: /* * function to read a feature state. */ static UINT32 read_state ( DL_DB_FEATURE_ID_T feature_id ); /* function to read a feature value, e.g. volume or mic gain */ static UINT32 read_value ( DL_DB_FEATURE_ID_T feature_id ); /* function to read a feature string, e.g. music nodes */ static void read_string ( DL_DB_FEATURE_ID_T feature_id, UINT8 *feature_value );private: /* * Overload the new and delete operators to prevent calls to the system's new and * delete functions. */ inline void * operator new(size_t) { return(NULL); } inline void operator delete(void *, size_t) {}};#endif //end AM_APPFEATURE_SERVER_CLASS_INCLUDE definition
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -