Mercurial > hg > easaier-soundaccess
diff sv/main/EasaierSessionManager.h @ 247:bf7e98ee11f4
Fix post of data to the backend
author | lbarthelemy |
---|---|
date | Mon, 02 Jun 2008 08:01:16 +0000 |
parents | c4e897bf012b |
children | 057856cf81a2 |
line wrap: on
line diff
--- a/sv/main/EasaierSessionManager.h Fri Mar 28 16:08:21 2008 +0000 +++ b/sv/main/EasaierSessionManager.h Mon Jun 02 08:01:16 2008 +0000 @@ -1,16 +1,16 @@ -/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ - -/* Sound Access - EASAIER client application. - Silogic 2007. Laure Bajard. - - 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. See the file - COPYING included with this distribution for more information. -*/ - +/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ + +/* Sound Access + EASAIER client application. + Silogic 2007. Laure Bajard. + + 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. See the file + COPYING included with this distribution for more information. +*/ + #ifndef _EASAIER_SESSION_MANAGER_H_ #define _EASAIER_SESSION_MANAGER_H_ @@ -67,7 +67,9 @@ inline void setHttpClient(HttpClient* httpClient) {m_httpClient = httpClient;} - void loadFile(const QString& query, const QString& filename, LoadedFile::FileType type); + void loadFile(const QString& query, const QString& filename, LoadedFile::FileType type, const QString& postPath=""); + + void loadFile(const QByteArray& payload, const QString& filename, LoadedFile::FileType type, const QString& postPath=""); bool newSession(); void closeSession();