Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 54 lines (45 sloc) 1.443 kB
4d4b393 @jhoffmannrim Update all NDK Samples for NDK 2.0 except BelligerentBlocks
jhoffmannrim authored
1 /*
bca4b2a @jhoffmannrim update NDK-Samples next for NDK 2.0
jhoffmannrim authored
2 * Copyright (c) 2011-2012 Research In Motion Limited.
4d4b393 @jhoffmannrim Update all NDK Samples for NDK 2.0 except BelligerentBlocks
jhoffmannrim authored
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18 #ifndef DIALOGUTIL_H_
19 #define DIALOGUTIL_H_
20
21 /**
22 * Set up a basic screen, so that the navigator will send window state events
23 * when the window state changes.
24 *
25 * @return @c EXIT_SUCCESS or @c EXIT_FAILURE
26 */
27 int setup_screen();
28
29 /**
30 * Clean up all the resources that were allocated by setup_screen().
31 */
32 void cleanup_screen();
33
34 /**
35 * Show an alert dialog that will output general data.
36 */
37 void create_dialog();
38
39 /**
40 * Destroy dialog that was created by create_dialog.
41 */
42 void destroy_dialog();
43
44 /**
45 * Displays a message to the dialog created by create_dialog() and
bca4b2a @jhoffmannrim update NDK-Samples next for NDK 2.0
jhoffmannrim authored
46 * outputs that message to stderr. This means it will get added
4d4b393 @jhoffmannrim Update all NDK Samples for NDK 2.0 except BelligerentBlocks
jhoffmannrim authored
47 * to the log file in the sandbox and output to the console.
48 *
49 * @param msg the message to be displayed.
50 */
51 void show_dialog_message(const char *msg);
52
53 #endif /* DIALOGUTIL_H_ */
Something went wrong with that request. Please try again.