Source

gnome-record-screen / librecordscreen / main.h

Full commit
/**
 * main.h
 *
 * :copyright: 2008 mitsuhiko.
 * :license: BSD
 */
 
#ifndef __MAIN_H__
#define __MAIN_H__

typedef void (*GRCMessageCallback) (void *sender, void *args); 

void
grc_initialize();

void*
grc_new_interface(gchar *pipeline, GRCMessageCallback cb);

gboolean
grc_test_pipeline(gchar *pipeline);

void
grc_free_interface(void *interface);

void
grc_interface_set_status(void *interface, gint status);

gboolean
grc_message_is_eof(GstBus *bus, GstMessage *message, gchar **error);

void
grc_free_message_error(gchar *error);

#endif