forked from googlearchive/ADBPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ADBPlugin.h
43 lines (30 loc) · 915 Bytes
/
ADBPlugin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef H_ADBPluginPLUGIN
#define H_ADBPluginPLUGIN
#include "PluginWindow.h"
#include "PluginEvents/MouseEvents.h"
#include "PluginEvents/AttachedEvent.h"
#include "PluginCore.h"
FB_FORWARD_PTR(ADBPlugin)
class ADBPlugin : public FB::PluginCore
{
public:
static void StaticInitialize();
static void StaticDeinitialize();
public:
ADBPlugin();
virtual ~ADBPlugin();
public:
void onPluginReady();
void shutdown();
virtual FB::JSAPIPtr createJSAPI();
virtual bool isWindowless() { return false; }
std::string getFilesystemPath();
BEGIN_PLUGIN_EVENT_MAP()
END_PLUGIN_EVENT_MAP()
/** BEGIN EVENTDEF -- DON'T CHANGE THIS LINE **/
/** END EVENTDEF -- DON'T CHANGE THIS LINE **/
};
#endif