- add sources.
[platform/framework/web/crosswalk.git] / src / ppapi / api / private / pp_file_handle.idl
1 /* Copyright (c) 2012 The Chromium Authors. 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
6 /**
7  * This file provides support for native OS file handles.
8  */
9
10 #inline c
11
12 #ifdef _WIN32
13 #include<windows.h>
14 typedef HANDLE PP_FileHandle;
15 static const PP_FileHandle PP_kInvalidFileHandle = NULL;
16
17 #else
18 typedef int PP_FileHandle;
19 static const PP_FileHandle PP_kInvalidFileHandle = -1;
20 #endif
21
22 #endinl