summaryrefslogtreecommitdiff
path: root/src/bin/common.h
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-09 00:29:07 -0300
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-14 23:38:49 -0300
commit77fb1afabb5721f785111d9ee12764cd742f23b5 (patch)
treef4100fab097c322600e785facb00246a8c292359 /src/bin/common.h
parentb68c9f556b594fadb7ac43520bb00b8376d418d3 (diff)
Removed all references to epulse
The stand alone application is called now emixer, it makes more sense since it was introduced multiple backends.
Diffstat (limited to 'src/bin/common.h')
-rw-r--r--src/bin/common.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/bin/common.h b/src/bin/common.h
new file mode 100644
index 0000000..4a399f9
--- /dev/null
+++ b/src/bin/common.h
@@ -0,0 +1,33 @@
1#ifndef __COMMON_H__
2#define __COMMON_H__
3
4#ifndef _GNU_SOURCE
5#define _GNU_SOURCE
6#endif
7
8#include <Ecore.h>
9#include <Elementary.h>
10
11#include <stdlib.h>
12#include <stdio.h>
13#include <string.h>
14
15#include "translation.h"
16
17#define BASE_VOLUME_STEP 10
18#define EMIXER_THEME PACKAGE_DATA_DIR"/data/themes/default.edj"
19
20EAPI extern int _log_domain;
21
22#define CRIT(...) EINA_LOG_DOM_CRIT(_log_domain, __VA_ARGS__)
23#define ERR(...) EINA_LOG_DOM_ERR(_log_domain, __VA_ARGS__)
24#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__)
25#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__)
26#define DBG(...) EINA_LOG_DOM_DBG(_log_domain, __VA_ARGS__)
27
28Eina_Bool emixer_common_init(const char *domain);
29void emixer_common_shutdown(void);
30Evas_Object *emixer_layout_add(Evas_Object *parent, const char *group,
31 const char *style);
32
33#endif /* __COMMON_H__ */