bemenu/client/client.c

37 lines
638 B
C
Raw Normal View History

2014-03-18 17:35:10 +00:00
/**
* @file client.c
*
* Sample client using the libbemenu.
* Also usable as dmenu replacement.
*/
#include <stdlib.h>
#include <bemenu.h>
2014-03-18 17:35:10 +00:00
/**
* 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);
2014-03-18 17:35:10 +00:00
return EXIT_SUCCESS;
}
/* vim: set ts=8 sw=4 tw=0 :*/