26 * POSSIBILITY OF SUCH DAMAGE. |
26 * POSSIBILITY OF SUCH DAMAGE. |
27 */ |
27 */ |
28 |
28 |
29 #include <stdio.h> |
29 #include <stdio.h> |
30 #include <stdlib.h> |
30 #include <stdlib.h> |
|
31 #include <locale.h> |
31 |
32 |
32 #include <ui/ui.h> |
33 #include <ui/ui.h> |
33 #include <ucx/buffer.h> |
34 #include <ucx/buffer.h> |
34 #include <ucx/utils.h> |
35 #include <ucx/utils.h> |
35 |
36 |
36 #include "application.h" |
37 #include "application.h" |
37 |
38 |
38 |
39 |
39 |
40 |
40 int main(int argc, char** argv) { |
41 int main(int argc, char** argv) { |
41 ui_init("uwnote", argc, argv); |
42 ui_init("uwnote", argc, argv); |
42 ui_onstartup(application_startup, NULL); |
43 ui_onstartup(application_startup, NULL); |
43 |
44 |
44 ui_main(); |
45 ui_main(); |
45 |
46 |