From 8c05219cecf1895b5faa6d216dd24190914bfd86 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Sun, 19 Feb 2006 22:36:24 +0000 Subject: [PATCH] - Add newlines at the end of source files. I hope not having to do this frequently! (it's a two-liner script, but nevertheless...) git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@355 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/backend/history.cc | 1 + src/backend/history.hh | 1 + src/backend/observed_subject.cc | 1 + src/backend/observed_subject.hh | 1 + src/backend/policy.cc | 2 +- src/backend/policy.hh | 2 +- src/backend/policy_manager.cc | 1 + src/backend/policy_manager.hh | 1 + src/backend/policy_parameters.cc | 1 + src/backend/policy_parameters.hh | 2 +- src/backend/process.cc | 1 + src/backend/process.hh | 1 + src/backend/pyloader/python_policy.cc | 1 + src/backend/pyloader/python_policy.hh | 1 + src/backend/pyloader/python_policy_manager.cc | 1 + src/backend/pyloader/python_policy_manager.hh | 1 + src/backend/schedulable.cc | 1 + src/backend/schedulable.hh | 1 + src/backend/schedulable_list.cc | 1 + src/backend/schedulable_list.hh | 1 + src/backend/schedulable_status.cc | 1 + src/backend/schedulable_status.hh | 1 + src/backend/scheduler.cc | 1 + src/backend/scheduler.hh | 1 + src/backend/slice.cc | 1 + src/backend/slice.hh | 1 + src/backend/string_utils.cc | 1 + src/backend/string_utils.hh | 1 + src/graphical_simulation.hh | 1 + src/graphical_terminal_io.cc | 2 +- src/graphical_terminal_io.hh | 1 + src/io_manager.hh | 1 + src/main.cc | 1 + src/main.hh | 1 + src/main_window.cc | 1 + src/main_window.hh | 1 + src/observer.cc | 1 + src/observer.hh | 1 + src/parse_opts.cc | 1 + src/parse_opts.hh | 1 + src/simulation.cc | 1 + src/simulation.hh | 1 + src/standard_io.cc | 1 + src/standard_io.hh | 1 + src/start_gui.cc | 1 + src/start_gui.hh | 1 + src/templates/smartp.hh | 1 + src/text_simulation.cc | 1 + src/text_simulation.hh | 2 +- 49 files changed, 49 insertions(+), 5 deletions(-) diff --git a/src/backend/history.cc b/src/backend/history.cc index 45e7d3f..dc8e2ad 100644 --- a/src/backend/history.cc +++ b/src/backend/history.cc @@ -145,3 +145,4 @@ History::truncate_at(int instant) + diff --git a/src/backend/history.hh b/src/backend/history.hh index f56affa..a1a0e28 100644 --- a/src/backend/history.hh +++ b/src/backend/history.hh @@ -70,3 +70,4 @@ namespace sgpem #endif //HISTORY_H + diff --git a/src/backend/observed_subject.cc b/src/backend/observed_subject.cc index e50d5f8..befbcd5 100644 --- a/src/backend/observed_subject.cc +++ b/src/backend/observed_subject.cc @@ -61,3 +61,4 @@ ObservedSubject::detach(Observer* o) return true; } + diff --git a/src/backend/observed_subject.hh b/src/backend/observed_subject.hh index 4b65886..7d0706b 100644 --- a/src/backend/observed_subject.hh +++ b/src/backend/observed_subject.hh @@ -53,3 +53,4 @@ namespace sgpem #endif + diff --git a/src/backend/policy.cc b/src/backend/policy.cc index bfbda82..f64f8a0 100644 --- a/src/backend/policy.cc +++ b/src/backend/policy.cc @@ -38,4 +38,4 @@ const PolicyParameters& Policy::get_parameters() const { return _parameters; -} \ No newline at end of file +} diff --git a/src/backend/policy.hh b/src/backend/policy.hh index dc56cfc..c40d692 100644 --- a/src/backend/policy.hh +++ b/src/backend/policy.hh @@ -62,4 +62,4 @@ namespace sgpem -#endif \ No newline at end of file +#endif diff --git a/src/backend/policy_manager.cc b/src/backend/policy_manager.cc index 27a4a94..e21068c 100644 --- a/src/backend/policy_manager.cc +++ b/src/backend/policy_manager.cc @@ -25,3 +25,4 @@ PolicyManager::~PolicyManager() { } + diff --git a/src/backend/policy_manager.hh b/src/backend/policy_manager.hh index 628e8bc..bd67a13 100644 --- a/src/backend/policy_manager.hh +++ b/src/backend/policy_manager.hh @@ -41,3 +41,4 @@ namespace sgpem } //~ namespace sgpem #endif + diff --git a/src/backend/policy_parameters.cc b/src/backend/policy_parameters.cc index b7d25ea..8e2818a 100644 --- a/src/backend/policy_parameters.cc +++ b/src/backend/policy_parameters.cc @@ -218,3 +218,4 @@ PolicyParameters::get_string(ustring name) const else return i->second.get_value(); } + diff --git a/src/backend/policy_parameters.hh b/src/backend/policy_parameters.hh index f855075..b6b7536 100644 --- a/src/backend/policy_parameters.hh +++ b/src/backend/policy_parameters.hh @@ -114,4 +114,4 @@ namespace sgpem #include "../templates/parameter.tcc" -#endif \ No newline at end of file +#endif diff --git a/src/backend/process.cc b/src/backend/process.cc index 043d8c5..78324d7 100644 --- a/src/backend/process.cc +++ b/src/backend/process.cc @@ -36,3 +36,4 @@ Process::get_type() const { return "Process"; } + diff --git a/src/backend/process.hh b/src/backend/process.hh index bedfcbe..f1ec507 100644 --- a/src/backend/process.hh +++ b/src/backend/process.hh @@ -49,3 +49,4 @@ namespace sgpem } #endif + diff --git a/src/backend/pyloader/python_policy.cc b/src/backend/pyloader/python_policy.cc index d443c49..43a22c5 100644 --- a/src/backend/pyloader/python_policy.cc +++ b/src/backend/pyloader/python_policy.cc @@ -25,3 +25,4 @@ using namespace std; PythonPolicy::PythonPolicy() { } + diff --git a/src/backend/pyloader/python_policy.hh b/src/backend/pyloader/python_policy.hh index 3ebf790..00c6e0e 100644 --- a/src/backend/pyloader/python_policy.hh +++ b/src/backend/pyloader/python_policy.hh @@ -58,3 +58,4 @@ namespace sgpem } #endif + diff --git a/src/backend/pyloader/python_policy_manager.cc b/src/backend/pyloader/python_policy_manager.cc index d3a2bba..472308d 100644 --- a/src/backend/pyloader/python_policy_manager.cc +++ b/src/backend/pyloader/python_policy_manager.cc @@ -69,3 +69,4 @@ PythonPolicyManager::init() } + diff --git a/src/backend/pyloader/python_policy_manager.hh b/src/backend/pyloader/python_policy_manager.hh index 00c8fc1..ed9df3e 100644 --- a/src/backend/pyloader/python_policy_manager.hh +++ b/src/backend/pyloader/python_policy_manager.hh @@ -52,3 +52,4 @@ namespace sgpem } #endif + diff --git a/src/backend/schedulable.cc b/src/backend/schedulable.cc index 3340fba..53771b9 100644 --- a/src/backend/schedulable.cc +++ b/src/backend/schedulable.cc @@ -59,3 +59,4 @@ Schedulable::get_name() const { return _name; } + diff --git a/src/backend/schedulable.hh b/src/backend/schedulable.hh index 24bf844..e5c5629 100644 --- a/src/backend/schedulable.hh +++ b/src/backend/schedulable.hh @@ -59,3 +59,4 @@ namespace sgpem } #endif + diff --git a/src/backend/schedulable_list.cc b/src/backend/schedulable_list.cc index f1156e1..526ddb7 100644 --- a/src/backend/schedulable_list.cc +++ b/src/backend/schedulable_list.cc @@ -199,3 +199,4 @@ SchedulableList::has_same_objects(const SchedulableList& dx) const return true; } + diff --git a/src/backend/schedulable_list.hh b/src/backend/schedulable_list.hh index e52162f..18ffd2a 100644 --- a/src/backend/schedulable_list.hh +++ b/src/backend/schedulable_list.hh @@ -63,3 +63,4 @@ namespace sgpem #endif //SCHEDULABLE_LIST_HH + diff --git a/src/backend/schedulable_status.cc b/src/backend/schedulable_status.cc index d2ebf22..10fa21e 100644 --- a/src/backend/schedulable_status.cc +++ b/src/backend/schedulable_status.cc @@ -78,3 +78,4 @@ SchedulableStatus::operator==(const SchedulableStatus& dx) const } + diff --git a/src/backend/schedulable_status.hh b/src/backend/schedulable_status.hh index c3885c9..37dd7a0 100644 --- a/src/backend/schedulable_status.hh +++ b/src/backend/schedulable_status.hh @@ -73,3 +73,4 @@ namespace sgpem #endif + diff --git a/src/backend/scheduler.cc b/src/backend/scheduler.cc index ceb074b..f57d03d 100644 --- a/src/backend/scheduler.cc +++ b/src/backend/scheduler.cc @@ -160,3 +160,4 @@ Scheduler::step_forward() + diff --git a/src/backend/scheduler.hh b/src/backend/scheduler.hh index 41b26af..c0b895a 100644 --- a/src/backend/scheduler.hh +++ b/src/backend/scheduler.hh @@ -74,3 +74,4 @@ namespace sgpem + diff --git a/src/backend/slice.cc b/src/backend/slice.cc index 017097c..4b95928 100644 --- a/src/backend/slice.cc +++ b/src/backend/slice.cc @@ -51,3 +51,4 @@ Slice::set_duration(const int& i) { _duration = i; } + diff --git a/src/backend/slice.hh b/src/backend/slice.hh index 8b64d4e..a12f61e 100644 --- a/src/backend/slice.hh +++ b/src/backend/slice.hh @@ -55,3 +55,4 @@ namespace sgpem } //~ namespace sgpem #endif + diff --git a/src/backend/string_utils.cc b/src/backend/string_utils.cc index 750d0f6..f9f2937 100644 --- a/src/backend/string_utils.cc +++ b/src/backend/string_utils.cc @@ -94,3 +94,4 @@ int_to_string(const int& num, ustring& str) str = '-' + str; } + diff --git a/src/backend/string_utils.hh b/src/backend/string_utils.hh index 03c767b..4447f05 100644 --- a/src/backend/string_utils.hh +++ b/src/backend/string_utils.hh @@ -31,3 +31,4 @@ #endif + diff --git a/src/graphical_simulation.hh b/src/graphical_simulation.hh index 766b0f4..8cc7a69 100644 --- a/src/graphical_simulation.hh +++ b/src/graphical_simulation.hh @@ -60,3 +60,4 @@ namespace sgpem { } #endif + diff --git a/src/graphical_terminal_io.cc b/src/graphical_terminal_io.cc index 1852452..2d9fbac 100644 --- a/src/graphical_terminal_io.cc +++ b/src/graphical_terminal_io.cc @@ -90,4 +90,4 @@ bool GraphicalTerminalIO::is_full_duplex() { return true; -} \ No newline at end of file +} diff --git a/src/graphical_terminal_io.hh b/src/graphical_terminal_io.hh index 407f97f..9f93235 100644 --- a/src/graphical_terminal_io.hh +++ b/src/graphical_terminal_io.hh @@ -62,3 +62,4 @@ namespace sgpem { } #endif + diff --git a/src/io_manager.hh b/src/io_manager.hh index 5a8b4f5..f396f00 100644 --- a/src/io_manager.hh +++ b/src/io_manager.hh @@ -58,3 +58,4 @@ namespace sgpem { #endif + diff --git a/src/main.cc b/src/main.cc index 8219109..30959bc 100644 --- a/src/main.cc +++ b/src/main.cc @@ -170,3 +170,4 @@ main(int argc, char* argv[]) */ return 0; } + diff --git a/src/main.hh b/src/main.hh index afa26fd..92bbefb 100644 --- a/src/main.hh +++ b/src/main.hh @@ -22,3 +22,4 @@ #define MAIN_HH 1 #endif + diff --git a/src/main_window.cc b/src/main_window.cc index 2127f33..9824019 100644 --- a/src/main_window.cc +++ b/src/main_window.cc @@ -48,3 +48,4 @@ MainWindow::MainWindow() MainWindow::~MainWindow() {} + diff --git a/src/main_window.hh b/src/main_window.hh index 53246c3..8b8c0a9 100644 --- a/src/main_window.hh +++ b/src/main_window.hh @@ -51,3 +51,4 @@ namespace sgpem { } //~ namespace sgpem #endif + diff --git a/src/observer.cc b/src/observer.cc index 0a50493..e15e90f 100644 --- a/src/observer.cc +++ b/src/observer.cc @@ -29,3 +29,4 @@ Observer::Observer() Observer::~Observer() { } + diff --git a/src/observer.hh b/src/observer.hh index fa784b1..7f3fb7d 100644 --- a/src/observer.hh +++ b/src/observer.hh @@ -49,3 +49,4 @@ namespace sgpem #endif + diff --git a/src/parse_opts.cc b/src/parse_opts.cc index c704274..c8c736d 100644 --- a/src/parse_opts.cc +++ b/src/parse_opts.cc @@ -116,3 +116,4 @@ print_license() << std::endl; } + diff --git a/src/parse_opts.hh b/src/parse_opts.hh index 25ecdee..cff892d 100644 --- a/src/parse_opts.hh +++ b/src/parse_opts.hh @@ -41,3 +41,4 @@ void parse_options(int& argc, char**& argv); void print_license(); #endif + diff --git a/src/simulation.cc b/src/simulation.cc index c61e362..ab72322 100644 --- a/src/simulation.cc +++ b/src/simulation.cc @@ -178,3 +178,4 @@ Simulation::get_avaiable_policies() v.push_back(Scheduler::get_instance().get_policy()); return v; } + diff --git a/src/simulation.hh b/src/simulation.hh index c25f39e..565745c 100644 --- a/src/simulation.hh +++ b/src/simulation.hh @@ -76,3 +76,4 @@ namespace sgpem #endif + diff --git a/src/standard_io.cc b/src/standard_io.cc index bac42cf..e8b5b07 100644 --- a/src/standard_io.cc +++ b/src/standard_io.cc @@ -61,3 +61,4 @@ StandardIO::is_full_duplex() { return false; } + diff --git a/src/standard_io.hh b/src/standard_io.hh index 3a7320e..1dbc840 100644 --- a/src/standard_io.hh +++ b/src/standard_io.hh @@ -49,3 +49,4 @@ namespace sgpem { } #endif + diff --git a/src/start_gui.cc b/src/start_gui.cc index 523e357..9bf0fb7 100644 --- a/src/start_gui.cc +++ b/src/start_gui.cc @@ -35,3 +35,4 @@ start_gui(int argc, char** argv) Gtk::Main::run(main_window); } + diff --git a/src/start_gui.hh b/src/start_gui.hh index 5ea47b0..1659ed8 100644 --- a/src/start_gui.hh +++ b/src/start_gui.hh @@ -29,3 +29,4 @@ void SG_DLLEXPORT start_gui(int argc, char** argv); #endif + diff --git a/src/templates/smartp.hh b/src/templates/smartp.hh index f5fc0d6..09458d5 100644 --- a/src/templates/smartp.hh +++ b/src/templates/smartp.hh @@ -107,3 +107,4 @@ namespace memory { #include "smartp.tcc" #endif + diff --git a/src/text_simulation.cc b/src/text_simulation.cc index da0d3cb..af82245 100644 --- a/src/text_simulation.cc +++ b/src/text_simulation.cc @@ -351,3 +351,4 @@ TextSimulation::_io_loop(pair pun) pun.first->parse_command(p); } } + diff --git a/src/text_simulation.hh b/src/text_simulation.hh index cdc24f3..a5743e8 100644 --- a/src/text_simulation.hh +++ b/src/text_simulation.hh @@ -60,4 +60,4 @@ namespace sgpem } -#endif \ No newline at end of file +#endif