?? deviceconfig.h
字號:
/*
* Copyright (C) 2003-2007 Funambol, Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
* 02111-1307 USA
*/
#ifndef INCL_DEVICE_CONFIG
#define INCL_DEVICE_CONFIG
/** @cond DEV */
#include "base/fscapi.h"
#include "spds/constants.h"
#include "syncml/core/VerDTD.h"
#include "base/Log.h"
/*
* ---------------------------- DeviceConfig class -------------------------------
* This class groups all configuration properties related to the device.
* Most of DeviceConfig properties are used to generate the
* <DevInf> element for client capabilities.
* DeviceConfig is a part of SyncManagerConfig (along with AccessConfig
* and an array of SyncSourceConfig).
*
* Class members:
* --------------
* verDTD : Specifies the major and minor version identifier of the
* Device Information DTD used in the representation
* of the Device Information. The value MUST be "1.1".
* This property is mandatory.
* man : Specifies the name of the manufacturer of the device.
* This property is optional.
* mod : Specifies the model name or model number of the device.
* This property is optional.
* oem : Specifies the OEM (Original Equipment Manufacturer) of the device.
* This property is optional.
* fwv : Specifies the firmware version of the device.
* This property is optional.
* swv : Specifies the software version of the device.
* This property is optional.
* hwv : Specifies the hardware version of the device.
* This property is optional.
* devID : Specifies the identifier of the source synchronization device.
* The content information MUST specify a theoretically,
* globally unique identifier. This property is mandatory.
* devType : Specifies the type of the source synchronization device.
* Type values for this element type can be e.g. "pager",
* "handheld", "pda", "phone", "smartphone", "server", "workstation".
* Other values can also be specified. This property is mandatory.
* dsV : Specifies the implemented DS version. This property is optional.
* utc : Boolean. Specifies that the device supports UTC based time.
* If utc = TRUE, the server SHOULD send time in UTC format,
* else MUST send in local time. Default value = TRUE.
* loSupport : Boolean. Specifies that the device supports handling of large objects.
* Default value = FALSE.
* nocSupport : Boolean. Specifies that the device supports number of changes.
* Default value = FALSE.
* logLevel : Specifies the logging level on the device.
* It can be one of 0
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -