Refactor Init method across all frontends to include argc and argv for improved argument handling consistency.
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
|
||||
|
||||
bool
|
||||
TestFrontend::Init(Editor &ed)
|
||||
TestFrontend::Init(int &argc, char **argv, Editor &ed)
|
||||
{
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
ed.SetDimensions(24, 80);
|
||||
return true;
|
||||
}
|
||||
@@ -30,4 +32,4 @@ TestFrontend::Step(Editor &ed, bool &running)
|
||||
|
||||
|
||||
void
|
||||
TestFrontend::Shutdown() {}
|
||||
TestFrontend::Shutdown() {}
|
||||
Reference in New Issue
Block a user