still learning

This commit is contained in:
Santiago Lema 2025-05-06 23:26:01 -03:00
parent e2cc208ee4
commit 6fb8e69244
5 changed files with 170 additions and 72 deletions

View file

@ -11,16 +11,26 @@
#include <StatusBar.h>
#include <Window.h>
//NEED THIS IN MAKE FILE TO USE PRIVATE HEADERS
//CXXFLAGS = -std=c++17 -Wall -I/boot/system/develop/headers/private
//Build works but Genio doesn't see class definitions unless I use full path ?
#include "/boot/system/develop/headers/private/netservices2/NetServicesDefs.h"
#include "/boot/system/develop/headers/private/netservices2/HttpSession.h"
#include "/boot/system/develop/headers/private/netservices2/HttpRequest.h"
#include "/boot/system/develop/headers/private/netservices2/HttpResult.h"
#include "/boot/system/develop/headers/private/netservices2/ErrorsExt.h"
//From private headers !
//#include "/boot/system/develop/headers/private/netservices2/HttpRequest.h"
//#include "/boot/system/develop/headers/private/netservices2/ErrorsExt.h"
//#include <NetServicesDefs.h>
//#include <HttpSession.h>
//#include <HttpSession.h>
//#include <HttpRequest.h>
//#include <HttpResult.h>
//#include <ErrorsExt.h>
#include <NetServicesDefs.h>
#include <HttpSession.h>
#include <HttpRequest.h>
#include <HttpResult.h>
using namespace BPrivate::Network;
@ -35,9 +45,15 @@ public:
void sendQuery();
private:
BHttpSession _sharedSession = BHttpSession ();
BHttpResult* resultOne;
BHttpRequest* requestOne;
BMenuBar *_BuildMenu();
BHttpSession _sharedSession;
BTextView * _answerView;
BTextView * _infoView;
BTextControl* _inputField;
BStatusBar* _progress;
BMenuItem *fSaveMenuItem;