亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dmtclientconfig.h

?? funambol windows mobile plugin source code, the source code is taken from the funambol site
?? 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_DM_CONFIG
#define INCL_DM_CONFIG
/** @cond API */
/** @addtogroup Client */
/** @{ */

#include "base/fscapi.h"
#include "http/constants.h"
#include "spdm/constants.h"
#include "spds/SyncManagerConfig.h"
#include "spds/AccessConfig.h"
#include "spds/DeviceConfig.h"
#include "spds/SyncSourceConfig.h"
#include "spdm/ManagementNode.h"

class DMTree;

/**
 * This class is an extension of SyncManagerConfig that is DM tree aware; this
 * means that configuration properties are read/stored from/to the DM tree.
 *
 * @todo describe the properties of the DM tree and how they are grouped into device info,
 * additional device info, extended device info, etc.
 */
class DMTClientConfig : public SyncManagerConfig {

    protected:

        char*  rootContext;

        DMTree* dmt;
        ManagementNode* syncMLNode;
        ManagementNode* sourcesNode;

        void initialize();
        DMTClientConfig();

        /* top level functions */
        virtual BOOL readAccessConfig(ManagementNode& n);
        virtual void saveAccessConfig(ManagementNode& n);
        virtual BOOL readDeviceConfig(ManagementNode& n);
        virtual void saveDeviceConfig(ManagementNode& n);
        virtual BOOL readSourceConfig(int i, ManagementNode& n);
        virtual void saveSourceConfig(int i, ManagementNode& n);

        /**
         * Called by readAccessConfig() to save authentication
         * settings.  The purpose of making this function virtual is
         * that a derived class can override it and then to read the
         * settings from a different than the default
         * "spds/syncml/auth" node by calling the base function with a
         * different \a authNode parameter or generate the settings in
         * some other way.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param authNode       the "spds/syncml/auth" node
         */
        virtual BOOL readAuthConfig(ManagementNode& syncMLNode,
                                    ManagementNode& authNode);
        /**
         * Same as readAccessConfig() for saving the settings.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param authNode       the "spds/syncml/auth" node
         */
        virtual void saveAuthConfig(ManagementNode& syncMLNode,
                                    ManagementNode& authNode);

        /**
         * Same as readAccessConfig() for reading connection
         * information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param connNode       the "spds/syncml/conn" node
         */
        virtual BOOL readConnConfig(ManagementNode& syncMLNode,
                                    ManagementNode& connNode);
        /**
         * Same as readAccessConfig() for saving connection
         * information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param connNode       the "spds/syncml/conn" node
         */
        virtual void saveConnConfig(ManagementNode& syncMLNode,
                                    ManagementNode& connNode);

        /**
         * Same as readAccessConfig() for reading additional access
         * information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param extNode        the "spds/syncml/ext" node
         */
        virtual BOOL readExtAccessConfig(ManagementNode& syncMLNode,
                                         ManagementNode& extNode);
        /**
         * Same as readAccessConfig() for saving additional access
         * information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param extNode        the "spds/syncml/ext" node
         */
        virtual void saveExtAccessConfig(ManagementNode& syncMLNode,
                                         ManagementNode& extNode);

        /**
         * Same as readAccessConfig() for reading device information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param devInfoNode    the "spds/syncml/devinfo" node
         */
        virtual BOOL readDevInfoConfig(ManagementNode& syncMLNode,
                                       ManagementNode& devInfoNode);
        /**
         * Same as readAccessConfig() for saving device information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param devInfoNode    the "spds/syncml/devinfo" node
         */
        virtual void saveDevInfoConfig(ManagementNode& syncMLNode,
                                       ManagementNode& devInfoNode);

        /**
         * Same as readAccessConfig() for reading additional device
         * information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param devDetailNode  the "spds/syncml/devdetail" node
         */
        virtual BOOL readDevDetailConfig(ManagementNode& syncMLNode,
                                         ManagementNode& devDetailNode);
        /**
         * Same as readAccessConfig() for saving additional device
         * information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param devDetailNode  the "spds/syncml/devdetail" node
         */
        virtual void saveDevDetailConfig(ManagementNode& syncMLNode,
                                         ManagementNode& devDetailNode);

        /**
         * Same as readAccessConfig() for reading some more additional
         * device information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param extNode        the "spds/syncml/ext" node
         */
        virtual BOOL readExtDevConfig(ManagementNode& syncMLNode,
                                      ManagementNode& extNode);
        /**
         * Same as readAccessConfig() for saving some more additional
         * device information.
         *
         * @param syncMLNode     the "spds/syncml" node
         * @param extNode        the "spds/syncml/ext" node
         */
        virtual void saveExtDevConfig(ManagementNode& syncMLNode,
                                      ManagementNode& extNode);

        /**
         * Same as readAccessConfig() for reading variables that the
         * library uses internally, like anchors.
         *
         * @param i              index of the source
         * @param sourcesNode    the "spds/sources" node
         * @param sourceNode     the "spds/sources/<source name>" node
         */
        virtual BOOL readSourceVars(int i,
                                    ManagementNode& sourcesNode,
                                    ManagementNode& sourceNode);

        /**
         * Same as readAccessConfig() for saveing variables that the
         * library uses internally, like anchors.
         *
         * @param i              index of the source
         * @param sourcesNode    the "spds/sources" node
         * @param sourceNode     the "spds/sources/<source name>" node
         */
        virtual void saveSourceVars(int i,
                                    ManagementNode& sourcesNode,
                                    ManagementNode& sourceNode);

        /**
         * Same as readAccessConfig() for reading the normal
         * properties of a sync source, i.e. excluding variables like
         * anchors.
         *
         * @param i              index of the source
         * @param sourcesNode    the "spds/sources" node
         * @param sourceNode     the "spds/sources/<source name>" node
         */
        virtual BOOL readSourceConfig(int i,
                                      ManagementNode& sourcesNode,
                                      ManagementNode& sourceNode);

        /**
         * Same as readAccessConfig() for reading the normal
         * properties of a sync source, i.e. excluding variables like
         * anchors.
         *
         * @param i              index of the source
         * @param sourcesNode    the "spds/sources" node
         * @param sourceNode     the "spds/sources/<source name>" node
         */
        virtual void saveSourceConfig(int i,
                                      ManagementNode& sourcesNode,
                                      ManagementNode& sourceNode);

    public:

        DMTClientConfig(const char*  root);

        ~DMTClientConfig();

        SyncSourceConfig* getSyncSourceConfig(const char* name, BOOL refresh = FALSE);
        SyncSourceConfig* getSyncSourceConfig(unsigned int i,   BOOL refresh = FALSE);

        virtual BOOL read();
        virtual BOOL save();

        /**
         * Opens the configuration backend associated with the root context.
         * Calling on an open config does nothing.
         *
         * @return TRUE for success
         */
        virtual BOOL open();

        /**
         * Provides access to the "syncml" configuration node,
         * can be used to read/write custom configuration options.
         * Config must have been opened before.
         *
         * @return node pointer owned by config and valid while the config is open
         */
        virtual ManagementNode* getSyncMLNode();

        /**
         * Gets number of sync source configurations, -1 if not open.
         */
        virtual int getNumSources();

        /**
         * Get the specified sync source configuration.
         *
         * @param index    number of the requested sync source configuration
         * @return node pointer owned by config and valid while the config is open
         */
        virtual ManagementNode* getSyncSourceNode(int index);

        /**
         * Get the specified sync source configuration by name.
         */
        virtual ManagementNode* getSyncSourceNode(const char* name);

        /**
         * Closes the configuration backend. Frees all resources associated
         * with and invalidates all ManagementNode pointers returned by this
         * config.
         */
        virtual void close();
};

/** @} */
/** @endcond */
#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产美女久久久久| 国产综合色在线| 中文字幕一区二| 日韩欧美精品三级| 色综合久久天天| 国产盗摄视频一区二区三区| 亚洲国产sm捆绑调教视频 | 成人丝袜高跟foot| 日本美女一区二区三区| 亚洲免费观看高清在线观看| 欧美精品一区二区三区四区| 国产精品水嫩水嫩| 成人丝袜高跟foot| 看片网站欧美日韩| 激情成人综合网| 一区二区三区免费| 不卡的看片网站| 麻豆精品视频在线| 亚洲一区二区三区国产| 国产精品二区一区二区aⅴ污介绍| 91精品国模一区二区三区| www.欧美日韩| 美国欧美日韩国产在线播放| 免费看欧美美女黄的网站| 国产欧美日韩视频一区二区| 日韩免费在线观看| 久久国产精品无码网站| 国产精品系列在线播放| 美腿丝袜一区二区三区| 亚洲精品少妇30p| 国产精品人人做人人爽人人添| 欧美日本在线一区| 丁香亚洲综合激情啪啪综合| 蜜臀久久久99精品久久久久久| 亚洲欧美成人一区二区三区| 亚洲男人的天堂一区二区| 精品国产91久久久久久久妲己| 欧美日韩一卡二卡三卡 | 有坂深雪av一区二区精品| 国产蜜臀97一区二区三区 | 色综合久久综合中文综合网| 亚洲美女淫视频| 亚洲777理论| 开心九九激情九九欧美日韩精美视频电影| 午夜视频一区二区| 国产亚洲精品aa| 欧美精品一区二区三| 成人av资源网站| 成人白浆超碰人人人人| 91精品国产91综合久久蜜臀| 日韩精品一区二区三区老鸭窝| 日韩一区二区三区av| 欧美日韩你懂得| 欧美大片在线观看一区二区| 欧美成人aa大片| 国产精品一二三四| 欧美在线综合视频| 欧美va亚洲va| 精品国产百合女同互慰| 中文字幕在线不卡一区二区三区| 欧美激情一区二区三区全黄| 国产精品久久久久9999吃药| 亚洲风情在线资源站| 久久99精品国产| 麻豆精品视频在线观看免费| 国产精品一品视频| av激情亚洲男人天堂| 欧美午夜片在线看| 欧美片网站yy| 国产精品久久久久三级| 日本免费新一区视频| 欧美性一级生活| 久久久亚洲国产美女国产盗摄| 亚洲影视在线播放| 国产真实精品久久二三区| hitomi一区二区三区精品| 欧美自拍偷拍一区| 欧美日韩国产一区| 国产精品18久久久久久久久 | 色乱码一区二区三区88| 欧美日韩aaa| 欧美日韩精品一区二区三区| 欧美xxxxxxxxx| 中文字幕日韩一区| 国产无一区二区| 日本亚洲天堂网| 国产v日产∨综合v精品视频| 色一区在线观看| 成人免费在线视频| 美女国产一区二区| www.亚洲免费av| 久久众筹精品私拍模特| 樱花影视一区二区| 日本午夜精品一区二区三区电影| av一二三不卡影片| 精品国产sm最大网站| 亚洲欧美成aⅴ人在线观看| 国产成a人无v码亚洲福利| 精品毛片乱码1区2区3区| 亚洲精品国产视频| 中文字幕欧美一| 国产精品一区久久久久| 3d成人h动漫网站入口| 一区二区三区av电影 | 另类小说一区二区三区| 日本福利一区二区| 久久噜噜亚洲综合| 国产大片一区二区| 久久美女高清视频| 肉丝袜脚交视频一区二区| 日本韩国一区二区三区视频| 国产欧美久久久精品影院| 亚瑟在线精品视频| 99视频精品在线| 国产欧美一区二区精品久导航 | 精品一区二区精品| 欧美一级精品在线| 亚洲福利视频导航| 色综合久久66| 日韩福利视频网| 欧美一级精品大片| 久久久精品影视| 成人综合在线观看| 久久女同精品一区二区| 国产精品久久久久久久久久免费看| 国产精品99久久久久| 日韩亚洲欧美一区二区三区| 91精品国产丝袜白色高跟鞋| 精品无人码麻豆乱码1区2区| 久久久久久久久久久久久女国产乱| 午夜免费久久看| 欧美另类一区二区三区| 亚洲chinese男男1069| 色88888久久久久久影院野外 | 亚洲欧美aⅴ...| 亚洲制服欧美中文字幕中文字幕| 日韩精品一二区| 欧美日韩一区二区三区四区五区| 国产日韩欧美电影| 欧美无砖砖区免费| 免费在线看一区| 成人黄色网址在线观看| 中文字幕中文字幕一区二区| 国产盗摄视频一区二区三区| 粉嫩高潮美女一区二区三区 | 国产午夜亚洲精品不卡| 91理论电影在线观看| 一区二区三区日韩| 97久久精品人人爽人人爽蜜臀| 亚洲黄色片在线观看| 在线免费观看日韩欧美| 最新国产成人在线观看| 欧美日韩色综合| 日韩高清中文字幕一区| 在线视频亚洲一区| 亚洲黄色小说网站| 在线观看国产精品网站| 日韩伦理av电影| 在线电影一区二区三区| 国产suv精品一区二区6| 国产精品国产自产拍高清av王其| 3atv在线一区二区三区| 成人开心网精品视频| 亚洲欧洲日产国码二区| 欧美二区三区91| 久热成人在线视频| 久久久久久久久一| 欧美一区二区大片| 国精品**一区二区三区在线蜜桃| 91精品欧美久久久久久动漫 | 亚洲欧美日韩国产中文在线| 91久久精品一区二区| 日韩国产欧美三级| 亚洲欧美aⅴ...| 精品国产免费视频| 免费成人在线网站| 亚洲人精品午夜| 日韩精品中文字幕在线不卡尤物| 国产真实乱偷精品视频免| 久久综合给合久久狠狠狠97色69| 成人免费av资源| 欧美精品一区二区不卡 | 成人性生交大片免费看视频在线| 国产欧美一区在线| 欧美一区二区三区影视| 白白色 亚洲乱淫| 琪琪久久久久日韩精品| 国产不卡高清在线观看视频| 日韩av一二三| 国产精品无码永久免费888| 日韩一区二区三区高清免费看看| 成人午夜免费av| 日本一区二区三级电影在线观看| 日韩你懂的在线观看| 色综合久久综合中文综合网| 国产精品久久久久久久久图文区| 日韩欧美精品三级| 91偷拍与自偷拍精品| 国产电影一区在线| 婷婷成人综合网|