#pragma once #include "src/types.h" #include #include #include enum struct APObjectType {NOTE, QUESTION, UNKNOWN}; // All these fields (including APAttachmentFields, etc. in other files) are made to map to the fields present in the ActivityStream JSON's "object" for very easy construction. // There are additional fields that we don't use so they are not included in the objects (including parent and APActivity). struct APQuestionFields { QString end_time; QString closed_time; int total_votes; struct Option { QString name; int votes; }; std::vector