mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
Base: Split out cpp-library template files into actual files
These were part of the postcreate script previously, but with the new powers of sed, we can text-replace the library name and make changing them much more convenient.
This commit is contained in:
parent
2451e97a11
commit
fd68e9f1ac
3 changed files with 25 additions and 31 deletions
11
Base/res/devel/templates/cpp-library/Class1.cpp
Normal file
11
Base/res/devel/templates/cpp-library/Class1.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "Class1.h"
|
||||
#include <AK/Format.h>
|
||||
|
||||
namespace $LibName {
|
||||
|
||||
void Class1::hello()
|
||||
{
|
||||
out("Hello friends! :^)\n");
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue