025c2e69c64a8009a73f4574595c33fffdc480e1
[platform/framework/web/crosswalk-tizen.git] / src / extension / extension.h
1 // Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WRT_EXTENSION_EXTENSION_H_
6 #define WRT_EXTENSION_EXTENSION_H_
7
8 #include <string>
9 #include <vector>
10
11 namespace wrt {
12
13 class Extension {
14  public:
15   Extension();
16   virtual ~Extension();
17
18   std::string name() const { return name_; }
19   std::string javascript_api() const { return javascript_api_; }
20   const std::vector<std::string>& entry_points() { return entry_points_; }
21
22  protected:
23   std::string name_;
24   std::string javascript_api_;
25   std::vector<std::string> entry_points_;
26
27  private:
28 };
29
30 }  // namespace wrt
31
32 #endif  // WRT_EXTENSION_EXTENSION_H_