X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fstructs%2FRequestStruct.h;fp=src%2Fstructs%2FRequestStruct.h;h=2866f9e12d401a868d13be4fa4bd09e2864482a0;hb=a44e607fb5398c80c5de2629017865ae749e8fbf;hp=0000000000000000000000000000000000000000;hpb=c5706a6ff3fbc42418e60b79fbe3f5c19396f7d2;p=PrivacyBrowserPC.git diff --git a/src/structs/RequestStruct.h b/src/structs/RequestStruct.h new file mode 100644 index 0000000..2866f9e --- /dev/null +++ b/src/structs/RequestStruct.h @@ -0,0 +1,37 @@ +/* + * Copyright 2024 Soren Stoutner . + * + * This file is part of Privacy Browser PC . + * + * Privacy Browser PC 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 3 of the License, or + * (at your option) any later version. + * + * Privacy Browser PC is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Privacy Browser PC. If not, see . + */ + +#ifndef REQUESTSTRUCT_H +#define REQUESTSTRUCT_H + +// Application headers. +#include "EntryStruct.h" + +struct RequestStruct +{ + int dispositionInt = 0; // `0` is the default disposition. + EntryStruct entryStruct; + QString filterListTitle; + int navigationTypeInt; + QString requestMethodString; + int resourceTypeInt; + int sublistInt = -1; // The sublist should be initialized because it is not always set later. + QString urlString; +}; +#endif