Pepper_47_C++_interfaces
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
samsung
extension_system_samsung_wrt.cc
Go to the documentation of this file.
1
// Copyright 2016 Samsung Electronics. 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
#include "
ppapi/cpp/samsung/extension_system_samsung_wrt.h
"
6
7
namespace
{
8
const
char
kWrtEmbedderName[] =
"TizenWRT"
;
9
}
// namespace
10
11
namespace
pp {
12
13
ExtensionSystemSamsungWRT::ExtensionSystemSamsungWRT
(
14
const
InstanceHandle
& instance)
15
:
ExtensionSystemSamsungTizen
(instance) {}
16
17
ExtensionSystemSamsungWRT::~ExtensionSystemSamsungWRT
() {}
18
19
bool
ExtensionSystemSamsungWRT::IsValid
()
const
{
20
static
bool
is_valid = (
GetEmbedderName
() == kWrtEmbedderName);
21
return
is_valid;
22
}
23
24
}
// namespace pp
pp::ExtensionSystemSamsungTizen
Definition:
extension_system_samsung_tizen.h:18
pp::ExtensionSystemSamsungWRT::~ExtensionSystemSamsungWRT
~ExtensionSystemSamsungWRT()
Destructor.
Definition:
extension_system_samsung_wrt.cc:17
pp::ExtensionSystemSamsung::GetEmbedderName
std::string GetEmbedderName() const
GetEmbedderName() returns name of the extension system provider.
Definition:
extension_system_samsung.cc:27
extension_system_samsung_wrt.h
pp::InstanceHandle
Definition:
instance_handle.h:44
pp::ExtensionSystemSamsungWRT::ExtensionSystemSamsungWRT
ExtensionSystemSamsungWRT(const InstanceHandle &instance)
Definition:
extension_system_samsung_wrt.cc:13
pp::ExtensionSystemSamsungWRT::IsValid
bool IsValid() const
Definition:
extension_system_samsung_wrt.cc:19
Generated on Wed Apr 5 2017 11:09:27 for Pepper_47_C++_interfaces by
1.8.6