~audio-recorder/audio-recorder/trunk

« back to all changes in this revision

Viewing changes to src/media-profiles.h

  • Committer: Osmo Antero Maatta
  • Date: 2011-01-17 08:09:50 UTC
  • Revision ID: osmoma@gmail.com-20110117080950-4cbm2fnnsr0332jw
InitialĀ importĀ 17.jan.2011

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _MEDIA_PROFILES_H
 
2
#define _MEDIA_PROFILES_H
 
3
 
 
4
#include <stdlib.h>
 
5
#include <gtk/gtk.h>
 
6
#include <gconf/gconf-client.h>
 
7
#include <gst/gst.h>
 
8
 
 
9
#include <profiles/gnome-media-profiles.h>
 
10
 
 
11
// ComboBox columns
 
12
enum  {
 
13
        COL_PROFILE_ID,   // Profile id (invisible)
 
14
        COL_PROFILE_TXT,  // Profile name (displayed text)
 
15
        N_PROFILE_COLUMNS
 
16
};
 
17
 
 
18
void media_profiles_init();
 
19
void media_profiles_exit();
 
20
 
 
21
GtkWidget *media_profiles_create_combobox();
 
22
gchar *media_profiles_get_selected_id(GtkWidget *widget);
 
23
 
 
24
GMAudioProfile *media_profiles_get_profile(gchar *id);
 
25
gchar *media_profiles_get_extension(gchar *id);
 
26
gchar *media_profiles_get_pipeline(gchar *id);
 
27
 
 
28
#endif
 
29