1/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef DM_BOOTSTRAPSESSION_H
18#define DM_BOOTSTRAPSESSION_H
19
20#ifndef __cplusplus
21#error "This is a C++ header file; it requires C++ to compile."
22#endif
23
24/*==================================================================================================
25
26    Header Name: dmExtractServerIDSession.h
27
28    General Description: This file contains declaration of DMExractServerIDSession calls.
29
30==================================================================================================*/
31
32#include "dmSession.h"
33
34/*==================================================================================================
35                                 CLASSES DECLARATION
36==================================================================================================*/
37
38class DMBootstrapSession : public DMSession
39{
40
41  public:
42
43    virtual SYNCML_DM_RET_STATUS_T Start(const UINT8 *docInputBuffer ,
44                                          UINT32 inDocSize,
45                                          BOOLEAN isWBXML,
46                                          DMString & serverID);
47
48  private:
49    /* This function will be called to register the DM Engine with the SyncML Toolkit. */
50    virtual SYNCML_DM_RET_STATUS_T SetToolkitCallbacks(SmlCallbacks_t * pSmlCallbacks);
51
52
53
54
55};
56
57#endif /* DMProcessScriptSession */
58