remove whitespace at eol
[goodguy/history.git] / cinelerra-5.1 / cinelerra / renderfarmclient.h
index 19547950cf5a645473c87791d4295bc338eb8dcc..1ee7ce53c2b0518956e14b70392a219dbebafaf5 100644 (file)
@@ -2,21 +2,21 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- * 
+ *
  */
 
 #ifndef RENDERFARMCLIENT_H
 class RenderFarmClient
 {
 public:
-       RenderFarmClient(int port, 
-               char *deamon_path, 
+       RenderFarmClient(int port,
+               char *deamon_path,
                int nice_value,
                char *config_path);
        ~RenderFarmClient();
-       
+
        void main_loop();
 
 
@@ -51,9 +51,9 @@ public:
 
 // After a socket times out, kill the render node.
        void kill_client();
-       
+
 //     RenderFarmClientThread *thread;
-       
+
        int port;
        char *deamon_path;
 // PID to be returned to background render object
@@ -72,7 +72,7 @@ public:
 
 // Commands call this to send the request packet.
 // The ID of the request followed by the size of the data that follows is sent.
-       int send_request_header(int request, 
+       int send_request_header(int request,
                int len);
 // These are local functions to handle errors the right way for a client.
 // They simply call the RenderFarmServerThread functions and abort if error.
@@ -94,11 +94,11 @@ public:
 
 
        void get_command(int socket_fd, int *command);
-       void read_preferences(int socket_fd, 
+       void read_preferences(int socket_fd,
                Preferences *preferences);
        void read_asset(int socket_fd, Asset *asset);
-       void read_edl(int socket_fd, 
-               EDL *edl, 
+       void read_edl(int socket_fd,
+               EDL *edl,
                Preferences *preferences);
        int read_package(int socket_fd, RenderPackage *package);
        int send_completion(int socket_fd);
@@ -133,14 +133,14 @@ public:
        FarmPackageRenderer(RenderFarmClientThread *thread,
                int socket_fd);
        ~FarmPackageRenderer();
-       
-       
+
+
        int get_result();
        void set_result(int value);
        void set_progress(int64_t total_samples);
        int set_video_map(int64_t position, int value);
 
-       
+
        int socket_fd;
        RenderFarmClientThread *thread;
 };