Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

serviceProgram.cpp 1.2KB

12345678910111213141516171819202122232425262728293031323334
  1. // \file serviceProgram.cpp
  2. //
  3. // Service program for testing CodeDweller::Service.
  4. //
  5. // Copyright (C) 2014 MicroNeil Research Corporation.
  6. //
  7. // This program is part of the MicroNeil Research Open Library Project. For
  8. // more information go to http://www.microneil.com/OpenLibrary/index.html
  9. //
  10. // This program is free software; you can redistribute it and/or modify it
  11. // under the terms of the GNU General Public License as published by the
  12. // Free Software Foundation; either version 2 of the License, or (at your
  13. // option) any later version.
  14. //
  15. // This program is distributed in the hope that it will be useful, but WITHOUT
  16. // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  17. // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  18. // more details.
  19. //
  20. // You should have received a copy of the GNU General Public License along with
  21. // this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  22. // Place, Suite 330, Boston, MA 02111-1307 USA
  23. //==============================================================================
  24. #include <unistd.h>
  25. #include <cstdlib>
  26. #include "CodeDweller/service.hpp"
  27. int CodeDweller::Service::run() {
  28. sleep(5);
  29. return(EXIT_SUCCESS);
  30. }