cogged include/internal/bottles.hpp

This commit is contained in:
Nicholas O'Connor committed 2017-03-23 14:43:48 -07:00
1 parent d8760c321a
commit 6943ebfd87
3 files changed
+22 -13

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
#ifndef __INTERNAL_BOTTLES_HPP
#define __INTERNAL_BOTTLES_HPP
#pragma once
namespace cellar {
namespace bottles {
extern void print_bottles(int,char**);
extern void print_active_bottle(int,char**);
}
}
#endif // __INTERNAL_BOTTLES_HPP
+20
View File
@@ -0,0 +1,20 @@
// vim: filetype=cpp :
#ifndef __INTERNAL_BOTTLES_HPP
#define __INTERNAL_BOTTLES_HPP
#pragma once
namespace cellar {
namespace bottles {
/*[[[cog
import cog
with open("src/bottles/commands.txt") as commandsfile:
for line in commandsfile:
item = line.split(" ")
cog.outl("extern void {0} (int, char**);".format(item[1]))
]]]*/
//[[[end]]]
}
}
#endif // __INTERNAL_BOTTLES_HPP