Пример #1
0
/*
 print out help texts
*/
void app_print_cli_help()
{
  printf(
         "VSXu Artiste command syntax:\n"
         "  -f             fullscreen mode\n"
         "  -s 1920,1080   screen/window size\n"
         "  -p 100,100     window posision\n"
         "\n"
        );
  vsx_module_list_factory_create()->print_help();
}
Пример #2
0
void vsx_manager::init(const char* base_path, const char* sound_type)
{
  vsx_string b_path;
  if(!base_path)
    b_path =  PLATFORM_SHARED_FILES;
  else
    b_path = base_path;

  vsx_string s_type(sound_type);

  if (s_type == "media_player")
  {
    s_type = "-sound_type_media_player";
  }

  module_list = vsx_module_list_factory_create();
  ((vsx_statelist*)int_state_manager)->set_module_list( module_list );

  ((vsx_statelist*)int_state_manager)->init(b_path,vsx_string(sound_type));
}
Пример #3
0
vsx_manager::vsx_manager()
{
  int_state_manager = (void*)new vsx_statelist();
  module_list = vsx_module_list_factory_create();
  ((vsx_statelist*)int_state_manager)->set_module_list( module_list );
}