blob: 559651f28b24c06c32bc1c9562f895e052fbc6f4 (
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
31
32
33
34
35
36
|
/**
* @file client.c
*
* Sample client using the libbemenu.
* Also usable as dmenu replacement.
*/
#include <stdlib.h>
#include <bemenu.h>
/**
* Main method
*
* This function gives and takes the life of our program.
*
* @param argc Number of arguments from command line
* @param argv Pointer to array of the arguments
* @return exit status of the program
*/
int main(int argc, char **argv)
{
(void)argc, (void)argv;
bmMenu *menu = bmMenuNew(BM_DRAW_MODE_NONE);
if (!menu)
return EXIT_FAILURE;
bmMenuRender(menu);
bmMenuFree(menu);
return EXIT_SUCCESS;
}
/* vim: set ts=8 sw=4 tw=0 :*/
|