summaryrefslogtreecommitdiffstats
path: root/map/map.h
blob: e712b9384a2556aea52f3c29cc276386a4126447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * Copyright (C) 2019 Konsulko Group
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef MAP_H
#define MAP_H

#include <QDebug>
#include <QObject>
#include <QJsonArray>
#include <QtQml/QQmlContext>
#include <QtQml/QQmlListProperty>

#include "messageengine.h"

class Map : public QObject
{
    Q_OBJECT

    public:
        explicit Map(QUrl &url, QObject * parent = Q_NULLPTR);
        virtual ~Map();

        Q_INVOKABLE void compose(QString recipient, QString message);

    signals:
        void notificationEvent(QVariantMap message);

    private:
        MessageEngine *m_mloop;

        // slots
        void onConnected();
        void onDisconnected();
        void onMessageReceived(MessageType, Message*);
};

#endif // MAP_H
├── templates ``` This list provides some overview information on the files and sub-layers in `meta-agl`: * `docs`: Contains files that support AGL documentation. * `meta-agl`: Contains layer configuration for the `meta-agl` layer. * `meta-agl-bsp`: Contains adaptations for recipes and required packages to boot an AGL distribution on targeted hardware and emulation (i.e. QEMU). * `meta-agl-distro`: Contains distro configuration and supporting scripts. * `meta-agl-profile-cluster`: The middleware for the AGL cluster profile. The set of packages required for AGL Cluster Distribution. Profiles include support for Wayland images. * `meta-agl-profile-cluster-qt5`: The middleware for the AGL Qt5-based cluster profile. The set of packages required for AGL Qt5-based Cluster Distribution. Profiles include support for Wayland images with Qt5. * `meta-agl-profile-core`: Configuration and recipes for the AGL core profiles. * `meta-agl-profile-graphical`: Configuration and recipes supporting graphical user interfaces. * `meta-agl-profile-graphical-html5`: Configuration and recipes supporting profiles with HTML user interface support. * `meta-agl-profile-graphical-qt5`: Configuration and recipes supporting profiles with Qt5-based user interface support. * `meta-agl-profile-hud`: Configuration and recipes supporting profiles with Head-Up-Display (HUD) support. * `meta-agl-profile-telematics`: Configuration and recipes supporting profiles with telematics support. * `meta-app-framework`: Configuration and recipes supporting the AGL Application Framework. * `meta-netboot`: Contains recipes and configuration adjustments to allow network boot through network block device (NBD) since network file system (NFS) does not support security labels. * `meta-security`: Configuration and recipes supporting security applications. * `scripts`: AGL development setup and support scripts. * `templates`: Base, feature, and machine templates used in the AGL development environment. ## Packagegroups This section describes the AGL [packagegroup](https://yoctoproject.org/docs/2.4.4/dev-manual/dev-manual.html#usingpoky-extend-customimage-customtasks) design: * packagegroup-agl-image-minimal packagegroup-agl-core-automotive.bb packagegroup-agl-core-connectivity.bb packagegroup-agl-core-graphics.bb packagegroup-agl-core-kernel.bb packagegroup-agl-core-multimedia.bb packagegroup-agl-core-navi-lbs.bb packagegroup-agl-core-os-commonlibs.bb packagegroup-agl-core-security.bb packagegroup-agl-core-speech-services.bb The previous list of Packagegroups are used to create the `agl-image-minimal` image, which is a small image just capable of allowing a device to boot. Subsystem should maintain packagegroup-agl-core-[subsystem].bb which should hold sufficient packages to build `agl-image-minimal`. * packagegroup-agl-image-ivi packagegroup-agl-ivi-automotive.bb packagegroup-agl-ivi-connectivity.bb packagegroup-agl-ivi-graphics.bb packagegroup-agl-ivi-kernel.bb packagegroup-agl-ivi-multimedia.bb packagegroup-agl-ivi-navi-lbs.bb packagegroup-agl-ivi-os-commonlibs.bb packagegroup-agl-ivi-security.bb packagegroup-agl-ivi-speech-services.bb The previous list of Packagegroups are used to create the `agl-image-ivi` image, which is a baseline image (i.e. Service Layer and Operating System Layer defined in AGL Spec v1.0) for the AGL profiles. * packagegroup-agl-test.bb Additional tools used in QA tests (for agl-image*-qa).