cogged include/internal/bottles.hpp
This commit is contained in:
@@ -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
include/internal/bottles.hpp.cog
Normal file
20
include/internal/bottles.hpp.cog
Normal 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
|
Reference in New Issue
Block a user