blob: 56c6bc10773490d387fa069b0e1c392cdd852956 (
plain)
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
|
// Copyright 2015 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 REMOTING_CLIENT_JNI_JNI_CLIENT_H_
#define REMOTING_CLIENT_JNI_JNI_CLIENT_H_
#include <jni.h>
#include "base/macros.h"
namespace remoting {
class JniClient {
public:
JniClient();
~JniClient();
// Register C++ methods exposed to Java using JNI.
static bool RegisterJni(JNIEnv* env);
void Destroy(JNIEnv* env, jobject caller);
private:
DISALLOW_COPY_AND_ASSIGN(JniClient);
};
} // namespace remoting
#endif // REMOTING_CLIENT_JNI_JNI_CLIENT_H_
|