⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 am_app_feature_server.h

📁 Motorola synergy audio component
💻 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 + -