summaryrefslogtreecommitdiffstats
path: root/ucb/source/ucp/cmis/cmis_url.hxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-10-01 15:54:09 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-10-01 16:04:47 +0200
commit14a03abcd32800b52e900c405673c5b864e994a6 (patch)
treefb68f96bdac222ac316de5379f9ddda8eb4b89d6 /ucb/source/ucp/cmis/cmis_url.hxx
parentCmis: Fixed the installation of the new UCP provider and libcmis (diff)
downloadcore-14a03abcd32800b52e900c405673c5b864e994a6.tar.gz
core-14a03abcd32800b52e900c405673c5b864e994a6.zip
CMIS UCP: get the document content stream
Diffstat (limited to 'ucb/source/ucp/cmis/cmis_url.hxx')
-rw-r--r--ucb/source/ucp/cmis/cmis_url.hxx56
1 files changed, 56 insertions, 0 deletions
diff --git a/ucb/source/ucp/cmis/cmis_url.hxx b/ucb/source/ucp/cmis/cmis_url.hxx
new file mode 100644
index 000000000000..1859102fa59e
--- /dev/null
+++ b/ucb/source/ucp/cmis/cmis_url.hxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * Version: MPL 1.1 / GPLv3+ / LGPLv3+
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License or as specified alternatively below. You may obtain a copy of
+ * the License at http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * Major Contributor(s):
+ * [ Copyright (C) 2011 SUSE <cbosdonnat@suse.com> (initial developer) ]
+ *
+ * All Rights Reserved.
+ *
+ * For minor contributions see the git repository.
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+ * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+ * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+ * instead of those above.
+ */
+#ifndef CMIS_URL_HXX
+#define CMIS_URL_HXX
+
+#include <map>
+#include <string>
+
+#include <rtl/ustring.hxx>
+
+namespace cmis
+{
+ class URL
+ {
+ private:
+ std::string m_sBindingUrl;
+ std::string m_sRepositoryId;
+
+ std::map< std::string, std::string > m_aQuery;
+
+ public:
+ URL( rtl::OUString const & urlStr );
+
+ std::map< int, std::string > getSessionParams( );
+ std::string getObjectId( );
+ };
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */