summaryrefslogtreecommitdiff
path: root/libpqpp/pq-command.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-command.h')
-rw-r--r--libpqpp/pq-command.h27
1 files changed, 23 insertions, 4 deletions
diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h
index 839c991..7e8cd94 100644
--- a/libpqpp/pq-command.h
+++ b/libpqpp/pq-command.h
@@ -1,16 +1,35 @@
#ifndef PQ_COMMAND_H
#define PQ_COMMAND_H
+#include "command.h"
#include "pq-connection.h"
-#include <command.h>
-#include <libpq-fe.h>
#include <memory>
#include <vector>
#include <visibility.h>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wold-style-cast"
+#pragma GCC diagnostic ignored "-Wsign-conversion"
+#ifndef __clang__
+# pragma GCC diagnostic ignored "-Wuseless-cast"
+#endif
+#include <glibmm/ustring.h>
+#pragma GCC diagnostic pop
+#include "command_fwd.h"
+#include <boost/date_time/posix_time/posix_time_types.hpp>
+#include <boost/date_time/posix_time/ptime.hpp>
+#include <cstddef>
+#include <iosfwd>
+#include <string>
+#include <string_view>
-namespace PQ {
- class Connection;
+namespace DB {
+ class Blob;
+}
+namespace boost::posix_time {
+ class time_duration;
+}
+namespace PQ {
class DLL_PUBLIC CommandOptions : public DB::CommandOptions {
public:
CommandOptions(std::size_t, const DB::CommandOptionsMap &);