?? protocolwwaninstanceobject.h
字號:
/*
Copyright (c) 2008, Intel Corporation.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
*///==============================================================================// Protocol802_3InstanceObject.h // Implementation of the class Protocol802_3Instance//==============================================================================#pragma once#ifndef DllExport#define DllExport // __declspec( dllimport )#endif#include "LinkProtocolInstanceObject.h"using namespace Intel::Mobile::Base;//==============================================================================namespace Intel{ namespace Mobile { namespace Network { class ProtocolWwanClass; class ProtocolWwanCollection; class LinkProtocolFactory; class DllExport ProtocolWwanInstance : public LinkProtocolInstance { friend class ProtocolWwanClass; friend class ProtocolWwanCollection; //friend ::CObserverWrapper; friend class LinkProtocolFactory; protected: ProtocolWwanInstance( void *pImpl ); public: bool AnswerCall(); bool OriginateCall( StringObject pCallNumber, unsigned char nCallCategory ); bool HangupCall(); bool EnableModem(bool bEnabled); bool ConnectInternet(); bool DisconnectInternet(); virtual ~ProtocolWwanInstance(); Intel::Mobile::Network::WwanEncryptionModeEnumArrayProperty EncryptionModes; Intel::Mobile::Network::WwanEncryptionModeEnumProperty EncryptionMode; Intel::Mobile::Base::BoolProperty Encrypted; Intel::Mobile::Base::BoolProperty DeviceLocked; Intel::Mobile::Base::BoolProperty SimLoaded; Intel::Mobile::Base::BoolProperty SimBlocked; Intel::Mobile::Base::BoolProperty SimLocked; Intel::Mobile::Base::BoolProperty SimPinInitialized; Intel::Mobile::Base::UIntProperty SimCountdown; Intel::Mobile::Base::IntProperty Rssi; Intel::Mobile::Base::UIntProperty Channel; Intel::Mobile::Network::ChannelStateEnumProperty ChannelState; Intel::Mobile::Network::RoamingStateEnumProperty RoamingState; Intel::Mobile::Base::UIntProperty DataTxBytes; Intel::Mobile::Base::UIntProperty DataRxBytes; Intel::Mobile::Network::ServiceIndicationEnumProperty ServiceIndication; Intel::Mobile::Network::CallStateEnumProperty CallState; Intel::Mobile::Network::WwanPowerModeEnumProperty PowerMode; Intel::Mobile::Base::StringProperty CallerId; Intel::Mobile::Network::WwanBandEnumProperty Band; Intel::Mobile::Base::BoolProperty EmergencyMode; Intel::Mobile::Base::BoolProperty NamActivated; Intel::Mobile::Base::StringProperty PhoneNumber; Intel::Mobile::Base::StringProperty MobileDirectoryNumber; Intel::Mobile::Base::StringProperty Imsi; Intel::Mobile::Network::CallCategoryEnumProperty CallCategory; Intel::Mobile::Base::IntProperty Temperature; Intel::Mobile::Network::LinkQualityEnumProperty LinkQuality; Intel::Mobile::Base::DateTimeProperty SystemTime; Intel::Mobile::Base::StringProperty Esn; Intel::Mobile::Base::StringProperty Operator; Intel::Mobile::Base::EventProperty EnteringCoverage; Intel::Mobile::Base::EventProperty LeavingCoverage; Intel::Mobile::Base::EventProperty CallIncoming; Intel::Mobile::Base::EventProperty CallConnecting; Intel::Mobile::Base::EventProperty CallConnected; Intel::Mobile::Base::EventProperty CallDisconnected; Intel::Mobile::Base::EventProperty Reset; Intel::Mobile::Base::EventProperty EnteringPowerSave; Intel::Mobile::Base::EventProperty LeavingPowerSave; }; } }}//==============================================================================
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -