Changeset 8233


Ignore:
Timestamp:
Apr 13, 2009, 7:04:21 PM (13 years ago)
Author:
charles
Message:

(trunk) make it possible to #include "version.h" without having to add -I${TOP}/libtransmission/ to your CFLAGS

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/cli.c

    r8181 r8233  
    3434#include <libtransmission/tr-getopt.h>
    3535#include <libtransmission/utils.h> /* tr_wait */
     36#include <libtransmission/version.h>
    3637#include <libtransmission/web.h> /* tr_webRun */
    3738
  • trunk/gtk/util.c

    r8117 r8233  
    4343#include <libtransmission/transmission.h> /* TR_RATIO_NA, TR_RATIO_INF */
    4444#include <libtransmission/utils.h> /* tr_inf */
     45#include <libtransmission/version.h> /* tr_inf */
    4546
    4647#include "conf.h"
  • trunk/libtransmission/peer-msgs.c

    r8091 r8233  
    3939#include "trevent.h"
    4040#include "utils.h"
     41#include "version.h"
    4142
    4243/**
  • trunk/libtransmission/rpcimpl.c

    r8230 r8233  
    2121#include "transmission.h"
    2222#include "bencode.h"
     23#include "completion.h"
     24#include "json.h"
    2325#include "rpcimpl.h"
    24 #include "json.h"
    2526#include "session.h"
    2627#include "stats.h"
    2728#include "torrent.h"
    28 #include "completion.h"
    2929#include "utils.h"
     30#include "version.h"
    3031#include "web.h"
    3132
  • trunk/libtransmission/session.c

    r8193 r8233  
    2828#include "bencode.h"
    2929#include "blocklist.h"
     30#include "crypto.h"
    3031#include "fdlimit.h"
    3132#include "list.h"
     
    4142#include "trevent.h"
    4243#include "utils.h"
     44#include "version.h"
    4345#include "web.h"
    44 #include "crypto.h"
    4546
    4647#define dbgmsg( ... ) \
  • trunk/libtransmission/test-peer-id.c

    r7783 r8233  
    55#include "session.h"
    66#include "utils.h"
     7#include "version.h"
    78
    89#undef VERBOSE
  • trunk/libtransmission/transmission.h

    r8186 r8233  
    3636extern "C" {
    3737#endif
    38 
    39 #include "version.h"
    4038
    4139#include <inttypes.h> /* uintN_t */
  • trunk/libtransmission/web.c

    r8134 r8233  
    2525#include "trevent.h"
    2626#include "utils.h"
     27#include "version.h"
    2728#include "web.h"
    2829
  • trunk/qt/app.cc

    r8188 r8233  
    2222#include <libtransmission/transmission.h>
    2323#include <libtransmission/tr-getopt.h>
     24#include <libtransmission/version.h>
    2425
    2526#include "app.h"
  • trunk/qt/mainwin.cc

    r8216 r8233  
    2323#include <QUrl>
    2424#include <QSignalMapper>
     25
     26#include <libtransmission/version.h>
    2527
    2628#include "about.h"
  • trunk/qt/qtr.pro

    r8231 r8233  
    22NAME = "Transmission"
    33DESCRIPTION = "Transmission: a fast, easy, and free BitTorrent client"
    4 VERSION = 1.6.0
     4VERSION = 1.60
    55LICENSE = "GPL"
    66
     
    2323FORMS += mainwin.ui about.ui
    2424RESOURCES += application.qrc
    25 SOURCES += about.cc \
    26            app.cc \
    27            details.cc \
    28            file-tree.cc \
    29            filters.cc \
    30            hig.cc \
    31            mainwin.cc \
    32            make-dialog.cc \
    33            options.cc \
    34            prefs.cc \
    35            prefs-dialog.cc \
    36            qticonloader.cc \
    37            session.cc \
    38            squeezelabel.cc \
    39            stats-dialog.cc \
    40            torrent.cc \
    41            torrent-delegate.cc \
    42            torrent-delegate-min.cc \
    43            torrent-filter.cc \
    44            torrent-model.cc \
    45            utils.cc \
    46            watchdir.cc
     25SOURCES += about.cc app.cc details.cc file-tree.cc filters.cc hig.cc \
     26           mainwin.cc make-dialog.cc options.cc prefs.cc prefs-dialog.cc \
     27           qticonloader.cc session.cc squeezelabel.cc stats-dialog.cc \
     28           torrent.cc torrent-delegate.cc torrent-delegate-min.cc \
     29           torrent-filter.cc torrent-model.cc utils.cc watchdir.cc
    4730HEADERS += $$replace(SOURCES, .cc, .h)
    4831HEADERS += speed.h types.h
Note: See TracChangeset for help on using the changeset viewer.