Impress Remote 1.0.5, tag sdremote-1.0.5
[LibreOffice.git] / bean / native / win32 / com_sun_star_beans_LocalOfficeWindow.c
blob04094202f632671256b7f7795088543fb9dd1a5d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #if defined _MSC_VER
21 #pragma warning(push, 1)
22 #endif
23 #include <windows.h>
24 #if defined _MSC_VER
25 #pragma warning(pop)
26 #endif
28 #include "jawt.h"
30 #define SYSTEM_WIN32 1
32 JNIEXPORT jlong JNICALL Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow
33 (JNIEnv * env, jobject obj_this);
35 /*****************************************************************************/
37 * Class: com_sun_star_beans_LocalOfficeWindow
38 * Method: getNativeWindowSystemType
39 * Signature: ()I
41 JNIEXPORT jint JNICALL Java_com_sun_star_beans_LocalOfficeWindow_getNativeWindowSystemType
42 (JNIEnv * env, jobject obj_this)
44 (void) env; // unused
45 (void) obj_this; // unused
46 return (SYSTEM_WIN32);
49 /*****************************************************************************/
51 * Class: com_sun_star_beans_LocalOfficeWindow
52 * Method: getNativeWindow
53 * Signature: ()J
55 JNIEXPORT jlong JNICALL Java_com_sun_star_beans_LocalOfficeWindow_getNativeWindow
56 (JNIEnv * env, jobject obj_this)
58 return Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow( env, obj_this );
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */