mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:17:44 +00:00
LibCore: Put all classes in the Core namespace and remove the leading C
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
This commit is contained in:
parent
b7e3810b5c
commit
2d39da5405
265 changed files with 1380 additions and 1167 deletions
|
@ -46,9 +46,9 @@ int main(int argc, char** argv)
|
|||
int number_width = 6;
|
||||
Vector<const char*> files;
|
||||
|
||||
CArgsParser args_parser;
|
||||
Core::ArgsParser args_parser;
|
||||
|
||||
CArgsParser::Option number_style_option {
|
||||
Core::ArgsParser::Option number_style_option {
|
||||
true,
|
||||
"Line numbering style: 't' for non-empty lines, 'a' for all lines, 'n' for no lines",
|
||||
"body-numbering",
|
||||
|
@ -73,7 +73,7 @@ int main(int argc, char** argv)
|
|||
args_parser.add_option(separator, "Separator between line numbers and lines", "separator", 's', "string");
|
||||
args_parser.add_option(start_number, "Initial line number", "startnum", 'v', "number");
|
||||
args_parser.add_option(number_width, "Number width", "width", 'w', "number");
|
||||
args_parser.add_positional_argument(files, "Files to process", "file", CArgsParser::Required::No);
|
||||
args_parser.add_positional_argument(files, "Files to process", "file", Core::ArgsParser::Required::No);
|
||||
args_parser.parse(argc, argv);
|
||||
|
||||
Vector<FILE*> file_pointers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue