Changeset 2413


Ignore:
Timestamp:
Feb 13, 2009, 4:33:52 PM (16 years ago)
Author:
Christoph Mayer
Message:

-letzte fixes von tidy umstellung

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • sample/pingpong/PingPong.cpp

    r2410 r2413  
    121121// timer event
    122122void PingPong::eventFunction() {
    123 
    124         logging_info("pinging our remote nodes");
    125 //      RemoteNodes::iterator i = remoteNodes.begin();
    126 //      RemoteNodes::iterator iend = remoteNodes.end();
    127 //
    128 //      pingid++;
    129 //
    130 //      for (; i != iend; i++) {
    131 //              logging_info("     -> pinging " << i->first);
    132 //
    133 //              PingPongMessage pingmsg(pingid);
    134 //              overlay->sendMessage(&pingmsg, i->second);
    135 //      }
    136123}
    137124
  • sample/pingpong/PingPong.h

    r2410 r2413  
    6363        // the current ping id
    6464        unsigned long pingId;
    65 
    66 //      // the known remote nodes
    67 //      typedef map<NodeID, LinkID> RemoteNodes;
    68 //      RemoteNodes remoteNodes;
    6965};
    7066
  • sample/pingpong/PingPongMessage.h

    r2410 r2413  
    11#ifndef PINGPONGMESSAGES_H_
    22#define PINGPONGMESSAGES_H_
    3 
    4 // #include "ariba/utility/messages.h"
    5 // #include "ariba/utility/serialization.h"
    6 // #include "ariba/utility/misc/Helper.h"
    7 // using ariba::utility::Message;
    83
    94#include <string>
  • sample/pingpong/main.cpp

    r2412 r2413  
    11#include <string>
    22#include "ariba/utility/system/StartupWrapper.h"
    3 #include "TidyPingPong.h"
     3#include "PingPong.h"
    44
    55using std::string;
  • source/ariba/Makefile.am

    r2409 r2413  
    363363# make install stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    364364
    365 libariba_ladir = ${pkgincludedir}
    366 
    367 #interfaces headers for make install - don't
    368 #remove the here listed .h files from _SOURCES!
    369 libariba_la_HEADERS = \
    370   tidy/ariba.h \
    371   tidy/AribaModule.h \
    372   tidy/DataMessage.h \
    373   tidy/Identifiers.h \
    374   tidy/LinkProperties.h \
    375   tidy/Module.h \
    376   tidy/Name.h \
    377   tidy/Node.h \
    378   tidy/NodeListener.h \
    379   tidy/SpoVNetProperties.h \
    380   tidy/TidyCommunicationListener.h \
    381   tidy/TidyMessage.h
     365# libariba_ladir = ${pkgincludedir}
     366#
     367# #interfaces headers for make install - don't
     368# #remove the here listed .h files from _SOURCES!
     369# libariba_la_HEADERS = \
     370#   tidy/ariba.h \
     371#   tidy/AribaModule.h \
     372#   tidy/DataMessage.h \
     373#   tidy/Identifiers.h \
     374#   tidy/LinkProperties.h \
     375#   tidy/Module.h \
     376#   tidy/Name.h \
     377#   tidy/Node.h \
     378#   tidy/NodeListener.h \
     379#   tidy/SpoVNetProperties.h \
     380#   tidy/TidyCommunicationListener.h \
     381#   tidy/TidyMessage.h
    382382
    383383# old make install stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
    387387# header files to install - TODO: extract all *.h and *.hpp files ~~~~
    388388
    389 #libariba_ladir = ${pkgincludedir}
    390 
    391 # install-data-local:
    392 #       @for f in $(libariba_la_SOURCES); do \
    393 #               d=`echo $$f | sed -e 's,/[^/]*$$,,'`; \
    394 #               $(mkinstalldirs) $(DESTDIR)$(libariba_ladir)/$$d; \
    395 #               if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \
    396 #               $(INSTALL_DATA) $$p $(DESTDIR)$(libariba_ladir)/$$f; \
    397 #       done
    398 #
    399 # uninstall-local:
    400 #       rm -rf $(DESTDIR)$(libariba_ladir)
     389libariba_ladir = ${pkgincludedir}
     390
     391install-data-local:
     392        @for f in $(libariba_la_SOURCES); do \
     393                d=`echo $$f | sed -e 's,/[^/]*$$,,'`; \
     394                $(mkinstalldirs) $(DESTDIR)$(libariba_ladir)/$$d; \
     395                if test -f $(srcdir)/$$f; then p=$(srcdir)/$$f; else p=$$f; fi; \
     396                $(INSTALL_DATA) $$p $(DESTDIR)$(libariba_ladir)/$$f; \
     397        done
     398
     399uninstall-local:
     400        rm -rf $(DESTDIR)$(libariba_ladir)
Note: See TracChangeset for help on using the changeset viewer.