aRts audio server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.3KB

  1. /*
  2. Copyright (C) 1999 Stefan Westerfeld
  3. stefan@space.twc.de
  4. Modified by Nicolas Brodu, nicolas.brodu@free.fr
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16. */
  17. // Test stuff:
  18. interface HelloBase {
  19. void hellobase(string s);
  20. };
  21. interface Hello : HelloBase {
  22. /*
  23. * counter like functionality (init, adding, getting total value)
  24. */
  25. attribute long myValue;
  26. void constructor(long i);
  27. void add(long l);
  28. void printTotal();
  29. /*
  30. * some hello world like stuff, string and number addition
  31. */
  32. void hello(string s);
  33. long sum(long a,long b);
  34. string concat(string s1, string s2);
  35. };