apply FSL(Flora Software License)
[profile/ivi/org.tizen.browser.git] / src / data-network / browser-network-manager.h
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
4   * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 BROWSER_NETWORK_MANAGER_H
18 #define BROWSER_NETWORK_MANAGER_H
19
20 #include "browser-config.h"
21
22 class Browser_View;
23 class Browser_Network_Manager {
24 public:
25         Browser_Network_Manager(void);
26         ~Browser_Network_Manager(void);
27
28         Eina_Bool init(Browser_View *browser_view, Evas_Object *webview);
29 private:
30         static void __network_changed_ind_cb(keynode_t *keynode, void *data);
31         static Eina_Bool __connection_cb(Evas_Object *webview, const char *uri);
32
33         Browser_View *m_browser_view;
34 };
35 #endif /* BROWSER_NETWORK_MANAGER_H */
36