24 #ifndef _LV_LIBVISUAL_H
25 #define _LV_LIBVISUAL_H
27 #include <libvisual/lv_param.h>
28 #include <libvisual/lv_random.h>
37 #include <libvisual/lv_singleton.hpp>
55 static void init (
int& argc,
char**& argv);
66 std::string get_version ()
const;
73 int get_api_version ()
const;
92 void set_rng_seed (RandomSeed seed);
98 const std::unique_ptr<Impl> m_impl;
100 System (
int& argc,
char**& argv);
117 #endif // __cplusplus
122 LV_API
void visual_init (
int *argc,
char ***argv);
124 LV_API
int visual_is_initialized (
void);
126 LV_API
void visual_quit (
void);
128 LV_API
const char *visual_get_version (
void);
130 LV_API
int visual_get_api_version (
void);
134 LV_API
void visual_set_rng_seed (VisRandomSeed seed);
139 static inline uint32_t visual_rand (
void)
141 return visual_random_context_int (visual_get_rng ());