~ubuntu-branches/ubuntu/breezy/gtick/breezy

« back to all changes in this revision

Viewing changes to src/options.h

  • Committer: Bazaar Package Importer
  • Author(s): Roland Stigge
  • Date: 2005-02-20 13:24:57 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050220132457-akn7xjaplb1ev1cd
Tags: 0.3.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* 
 
2
 * Metronome options object interface
 
3
 *
 
4
 * This file is part of GTick
 
5
 * 
 
6
 *
 
7
 * Copyright (c) 1999, Alex Roberts
 
8
 * Copyright (c) 2003, Roland Stigge <stigge@antcom.de>
 
9
 *
 
10
 * GTick is free software; you can redistribute it and/or modify
 
11
 * it under the terms of the GNU General Public License as published by
 
12
 * the Free Software Foundation; either version 2 of the License, or
 
13
 * (at your option) any later version.
 
14
 *
 
15
 * GTick is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 * GNU General Public License for more details.
 
19
 *
 
20
 * You should have received a copy of the GNU General Public License
 
21
 * along with GTick; if not, write to the Free Software
 
22
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
23
 *
 
24
 */
 
25
 
 
26
#ifndef OPTIONS_H
 
27
#define OPTIONS_H
 
28
 
 
29
#include "option.h"
 
30
 
 
31
/*
 
32
 * actually a part of a metro(nome)
 
33
 */
 
34
typedef struct options_t {
 
35
  option_list_t* option_list; /* list of available rc options */
 
36
 
 
37
  char* sample_name;
 
38
  char* sound_device_name;
 
39
  char* command_on_start;
 
40
  char* command_on_stop;
 
41
} options_t;
 
42
 
 
43
options_t* options_new(void);
 
44
void options_delete(options_t* options);
 
45
 
 
46
#endif /* OPTIONS_H */