Fixed problems with block; refactored code
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
namespace Magick {
|
||||
class Image;
|
||||
class Blob;
|
||||
}
|
||||
|
||||
class App : public Wt::WApplication, public Client {
|
||||
@@ -140,7 +141,7 @@ private:
|
||||
void updateUserinfo(Wt::Json::Object data);
|
||||
std::unique_ptr<Wt::WContainerWidget> createSmileysBar(Wt::WLineEdit *inputLine, std::shared_ptr<int> cursorPosition);
|
||||
void toggleSmileysBar(Wt::WContainerWidget *smileyBar);
|
||||
void showSystemMessage(Wt::Json::Object broadcast);
|
||||
void systemEvent(Wt::Json::Object broadcast);
|
||||
void addStartChatButton(Wt::WGridLayout *contentGrid, Wt::WLineEdit *userName, Wt::WComboBox *country, Wt::WSpinBox *age, Wt::WComboBox *gender);
|
||||
Wt::WComboBox *addCountrySelection(Wt::WGridLayout *contentGrid);
|
||||
Wt::WSpinBox *addAgeInput(Wt::WGridLayout *contentGrid);
|
||||
@@ -205,6 +206,9 @@ private:
|
||||
void addLoginTimeView();
|
||||
void addTimeoutView();
|
||||
void showPartnerSites();
|
||||
void sendImage();
|
||||
void imageUploaded(Wt::WFileUpload *fileWidget, std::shared_ptr<Magick::Image> localImage, Wt::WImage *image, Wt::WPushButton *okButton);
|
||||
bool isAnimatedGIF(const Magick::Blob &blob);
|
||||
};
|
||||
|
||||
#endif // APP_H
|
||||
|
||||
Reference in New Issue
Block a user