Back to index

easystroke  0.5.5.1
water.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008, Thomas Jaeger <ThJaeger@gmail.com>
00003  *
00004  * Permission to use, copy, modify, and/or distribute this software for any
00005  * purpose with or without fee is hereby granted, provided that the above
00006  * copyright notice and this permission notice appear in all copies.
00007  *
00008  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
00009  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
00010  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
00011  * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00012  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
00013  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
00014  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00015  */
00016 #ifndef __WATER_H__
00017 #define __WATER_H__
00018 #include "trace.h"
00019 #include "main.h"
00020 #include <dbus/dbus-glib.h>
00021 
00022 class Water : public Trace {
00023        DBusGConnection *bus;
00024        DBusGProxy *line_proxy;
00025 
00026        virtual void draw(Point p, Point q);
00027        virtual void start_() {}
00028        virtual void end_() {}
00029 public:
00030        Water();
00031 };
00032 
00033 #endif