[girl] girl version 0.6.283185307 ('Malala')
- From: Ole Aamot <ole src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [girl] girl version 0.6.283185307 ('Malala')
- Date: Wed, 10 Dec 2014 17:16:49 +0000 (UTC)
commit cd6b9938a805019cdce06eb87e897a4c85cd5a15
Author: Ole Aamot <oka oka no>
Date: Wed Dec 10 18:07:05 2014 +0100
girl version 0.6.283185307 ('Malala')
src/girl-runners.c | 32 +++++++++++++++++++++++++++++++
src/girl-runners.h | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/src/girl-runners.c b/src/girl-runners.c
new file mode 100644
index 0000000..ad91b32
--- /dev/null
+++ b/src/girl-runners.c
@@ -0,0 +1,32 @@
+#include "girl-runners.h"
+
+GirlRunnersInfo *girl_runners_new (GirlRunnersInfo * head,
+ gchar *id,
+ gchar *name,
+ gchar *date,
+ gchar *time,
+ gchar *file) {}
+void girl_runners_free(GirlRunnersInfo * info) {}
+void girl_runners_mutex_init(GirlRunnersInfo *info, GMutex runner) {}
+void girl_runners_mutex_lock(GirlRunnersInfo *info, GMutex runner) {}
+void girl_runners_mutex_unlock(GirlRunnersInfo *info, GMutex mutex) {}
+void girl_runners_mutex_exit(GirlRunnersInfo *info, GMutex mutex) {}
+
+#if 0
+void girl_helper_run(char *command)
+{
+ GMutex mutex;
+ int recording_lock;
+ girl_runner_mutex_init(program,mutex);
+ if (recording_lock == TRUE) {
+ girl_runner_mutex_lock(program,mutex);
+ recording_lock = TRUE;
+ }
+ if (recording_lock == FALSE) {
+ girl_runner_mutex_unlock(program,mutex);
+ recording_lock = FALSE;
+ girl_runner_mutex_exit(program,mutex);
+ }
+ return (0);
+}
+#endif
diff --git a/src/girl-runners.h b/src/girl-runners.h
new file mode 100644
index 0000000..da4a357
--- /dev/null
+++ b/src/girl-runners.h
@@ -0,0 +1,53 @@
+/* $Id$
+ *
+ * GNOME Internet Radio Locator
+ *
+ * Copyright (C) 2014 Ole Aamot Software
+ *
+ * Author: Ole Aamot <oka oka no>
+ *
+ * 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 2 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef GIRL_RUNNERS_H
+#define GIRL_RUNNERS_H
+
+#include "girl.h"
+
+typedef struct _GirlRunnersInfo GirlRunnersInfo;
+
+struct _GirlRunnersInfo {
+ GtkWidget *widget;
+ GMutex mutex;
+ gchar *id;
+ gchar *name;
+ gchar *command;
+};
+
+GirlRunnersInfo *girl_runners_new (GirlRunnersInfo * head,
+ gchar *id,
+ gchar *name,
+ gchar *date,
+ gchar *time,
+ gchar *file);
+
+void girl_runners_free(GirlRunnersInfo * info);
+
+void girl_runners_mutex_init(GirlRunnersInfo *info, GMutex runner);
+void girl_runners_mutex_lock(GirlRunnersInfo *info, GMutex runner);
+void girl_runners_mutex_unlock(GirlRunnersInfo *info, GMutex mutex);
+void girl_runners_mutex_exit(GirlRunnersInfo *info, GMutex mutex);
+
+#endif /* GIRL_RUNNERS_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]