]> git.tdb.fi Git - libs/core.git/blobdiff - source/base.cpp
Drop copyright and license notices from files
[libs/core.git] / source / base.cpp
index 4556b7303aa669da514ef344d2bd2cdb3662b847..a740433a83a7ff51deb09d70cefec793c67b073e 100644 (file)
@@ -1,9 +1,3 @@
-/* $Id$
-
-This file is part of libmspio
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
 #include "base.h"
 #include "poll.h"
 
@@ -21,10 +15,10 @@ bool Base::getline(string &line)
 
        while(1)
        {
-               int c=get();
+               int c = get();
                if(c==-1 || c=='\n')
                        break;
-               line+=c;
+               line += c;
        }
 
        return !eof_flag || !line.empty();
@@ -59,7 +53,7 @@ Base::Base():
 
 void Base::set_events(PollEvent e)
 {
-       events=e;
+       events = e;
        signal_events_changed.emit(events);
 }