summaryrefslogtreecommitdiff
path: root/src/.unitize/_SlideshowInternals.vala
blob: d6de981b9c638f65cbef7615ebb5ef95e9b58d67 (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
/* Copyright 2016 Software Freedom Conservancy Inc.
 *
 * This software is licensed under the GNU Lesser General Public License
 * (version 2.1 or later).  See the COPYING file in this distribution.
 *
 * Auto-generated file.  Do not modify!
 */

namespace Slideshow {

private int _unit_init_count = 0;

public void init_entry() throws Error {
    if (_unit_init_count++ != 0)
        return;

    Unit.init_entry(); Plugins.init_entry();

    Slideshow.init();
}

public void terminate_entry() {
    if (_unit_init_count == 0 || --_unit_init_count != 0)
        return;

    Slideshow.terminate();

    Unit.terminate_entry(); Plugins.terminate_entry();
}

}