Commit 9b7e303f7187487b54b73ce1206c07c7911deccc

Authored by Jürgen Knödlseder
1 parent 12041634

Add Python interface for GVOClient::publish() method.

Showing 1 changed file with 3 additions and 1 deletions
pyext/GVOClient.i
1 /*************************************************************************** 1 /***************************************************************************
2 * GVOClient.i - VO client class * 2 * GVOClient.i - VO client class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2014-2015 by Juergen Knoedlseder * 4 + * copyright (C) 2014-2016 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -26,6 +26,7 @@ @@ -26,6 +26,7 @@
26 %{ 26 %{
27 /* Put headers and other declarations here that are needed for compilation */ 27 /* Put headers and other declarations here that are needed for compilation */
28 #include "GVOClient.hpp" 28 #include "GVOClient.hpp"
  29 +#include "GXml.hpp"
29 %} 30 %}
30 31
31 32
@@ -52,6 +53,7 @@ public: @@ -52,6 +53,7 @@ public:
52 bool ping_hub(void) const; 53 bool ping_hub(void) const;
53 void shutdown_hub(void) const; 54 void shutdown_hub(void) const;
54 GXml execute(const std::string& request) const; 55 GXml execute(const std::string& request) const;
  56 + void publish(const GFitsHDU& hdu);
55 }; 57 };
56 58
57 59