Files
sysprof/src/libsysprof-gtk/sysprof-tracks-view.h
Christian Hergert 5d2b1c06a6 libsysprof-gtk: start on SysprofTracksView
This is eventually going to contain the list of tracks we have at the
top of the analysis view.
2023-06-28 14:53:52 -07:00

45 lines
1.4 KiB
C

/* sysprof-tracks-view.h
*
* Copyright 2023 Christian Hergert <chergert@redhat.com>
*
* This program 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.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <gtk/gtk.h>
#include <sysprof-analyze.h>
#include "sysprof-session.h"
G_BEGIN_DECLS
#define SYSPROF_TYPE_TRACKS_VIEW (sysprof_tracks_view_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (SysprofTracksView, sysprof_tracks_view, SYSPROF, TRACKS_VIEW, GtkWidget)
SYSPROF_AVAILABLE_IN_ALL
GtkWidget *sysprof_tracks_view_new (void);
SYSPROF_AVAILABLE_IN_ALL
SysprofSession *sysprof_tracks_view_get_session (SysprofTracksView *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_tracks_view_set_session (SysprofTracksView *self,
SysprofSession *session);
G_END_DECLS