- Put opening braces on a newline, as per coding-style rules
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@226 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
a63937f0e4
commit
bf61f8bebd
|
@ -29,7 +29,8 @@
|
||||||
#include <gtkmm/menubar.h>
|
#include <gtkmm/menubar.h>
|
||||||
#include <gtkmm/window.h>
|
#include <gtkmm/window.h>
|
||||||
|
|
||||||
MainWindow::MainWindow() {
|
MainWindow::MainWindow()
|
||||||
|
{
|
||||||
set_title(PACKAGE_STRING);
|
set_title(PACKAGE_STRING);
|
||||||
set_default_size(800, 600);
|
set_default_size(800, 600);
|
||||||
|
|
||||||
|
@ -43,4 +44,5 @@ MainWindow::MainWindow() {
|
||||||
show_all_children();
|
show_all_children();
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow() {}
|
MainWindow::~MainWindow()
|
||||||
|
{}
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
#include <gtkmm/main.h>
|
#include <gtkmm/main.h>
|
||||||
|
|
||||||
void DLLEXPORT
|
void DLLEXPORT
|
||||||
start_gui(int argc, char** argv) {
|
start_gui(int argc, char** argv)
|
||||||
|
{
|
||||||
Gtk::Main gtk_main(argc,argv);
|
Gtk::Main gtk_main(argc,argv);
|
||||||
MainWindow main_window;
|
MainWindow main_window;
|
||||||
Gtk::Main::run(main_window);
|
Gtk::Main::run(main_window);
|
||||||
|
|
|
@ -87,7 +87,8 @@ parse_options(int& argc, char**& argv)
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
display_help() {
|
display_help()
|
||||||
|
{
|
||||||
printf( _("SGPEMv2 is an educational software acting as a process scheduling simulator\n"
|
printf( _("SGPEMv2 is an educational software acting as a process scheduling simulator\n"
|
||||||
"\n\nUsage : stradivari [options]" // filenames"
|
"\n\nUsage : stradivari [options]" // filenames"
|
||||||
"\n\nOptions:\n"
|
"\n\nOptions:\n"
|
||||||
|
|
Loading…
Reference in New Issue