Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afm-run: improvement and comments
[src/app-framework-main.git]
/
src
/
afm-launch-mode.h
diff --git
a/src/afm-launch-mode.h
b/src/afm-launch-mode.h
index
8eee8eb
..
4b840ab
100644
(file)
--- a/
src/afm-launch-mode.h
+++ b/
src/afm-launch-mode.h
@@
-25,6
+25,7
@@
enum afm_launch_mode {
#define default_launch_mode mode_local
#define launch_mode_is_valid(x) ((x)==mode_local || (x)==mode_remote)
#define default_launch_mode mode_local
#define launch_mode_is_valid(x) ((x)==mode_local || (x)==mode_remote)
+#define is_valid_launch_mode(x) ((x)==mode_local || (x)==mode_remote)
enum afm_launch_mode launch_mode_of_string(const char *s);
const char *name_of_launch_mode(enum afm_launch_mode m);
enum afm_launch_mode launch_mode_of_string(const char *s);
const char *name_of_launch_mode(enum afm_launch_mode m);