📄 am_sdvr_delete_record.h
字号:
#define AM_SDVR_DELETE_RECORD_CLASS_INCLUDE#ifndef AM_SDVR_DELETE_RECORD_CLASS_INCLUDE#define AM_SDVR_DELETE_RECORD_CLASS_INCLUDE/* (c) Copyright Motorola 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_SDVR_Delete_Record class. ************** REVISION HISTORY ********************************************** Date Author Reference ======== ======== ========================== 98-11-04 blamers CR - CSGce23508 Whitecap VR Event Handler Changes - Rid AM of compiler warning. 97-05-29 slam PR - CSGce10240*//************** HEADER FILE INCLUDES ******************************************/#include <stddef.h>#ifndef SUAPI_INCLUDE#include <SUAPI/suapi.h>#endif#include "am_sdvr_records.h"/************** CONSTANTS *****************************************************//************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************//************** FUNCTION PROTOTYPES *******************************************//************** MACROS ********************************************************//************** CLASS DEFINITIONS *********************************************/class AM_SDVR_Delete_Record{public: /* * 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) {} /* * class constructor */ AM_SDVR_Delete_Record ( AM_SDVR_DELETE_RECORD *delete_record_ptr ); /* * class destructor, do nothing, but prevents allocation of __Ptbl in * everyfile that includes this .H file. */ ~AM_SDVR_Delete_Record (void) {}; /* * clear deletion record */ void clear ( void ); /* * save deletion data */ void save ( /* voice tag to be deleted */ TD_VR_VOICE_TAG voice_tag ); /* * return voice tag to be deleted */ inline TD_VR_VOICE_TAG get_voice_tag ( void ) { return( delete_ptr->voice_tag ); }private: AM_SDVR_DELETE_RECORD *delete_ptr;};#endif //end of AM_SDVR_DELETE_RECORD_CLASS_INCLUDE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -