Changeset 233 for trunk/lib/SVN.h


Ignore:
Timestamp:
Mar 27, 2007, 12:35:38 AM (14 years ago)
Author:
Peter Johansson
Message:

Refs #117. Initial ci of SVNlog class. Class should be used and functions in SVN could be removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/SVN.h

    r225 r233  
    3636namespace theplu {
    3737namespace svndigest {
     38
     39  struct log_receiver_baton;
    3840
    3941  ///
     
    109111
    110112    /**
     113       \todo doc
     114    */
     115    void client_log(std::string path, log_receiver_baton* lb);
     116
     117
     118    /**
    111119       @brief Get the properties for \a path.
    112120
     
    170178    vc_status version_controlled(const std::string& path);
    171179
    172 
    173180  private:
    174181    ///
     
    216223
    217224    // Subversion API stuff
     225
     226    static svn_error_t *
     227    log_message_receiver(void *baton, apr_hash_t *changed_paths,
     228                         svn_revnum_t rev, const char *author, const char *date,
     229                         const char *msg, apr_pool_t *pool);
     230
     231    svn_wc_adm_access_t* adm_access_;
     232    apr_allocator_t* allocator_;
     233    svn_client_ctx_t* context_;
     234    apr_pool_t* pool_;
     235    svn_ra_session_t* ra_session_;
     236  };
    218237
    219238    // Log message receiver
     
    224243      std::vector<size_t> rev;
    225244    };
    226     static svn_error_t *
    227     log_message_receiver(void *baton, apr_hash_t *changed_paths,
    228                          svn_revnum_t rev, const char *author, const char *date,
    229                          const char *msg, apr_pool_t *pool);
    230 
    231     svn_wc_adm_access_t* adm_access_;
    232     apr_allocator_t* allocator_;
    233     svn_client_ctx_t* context_;
    234     apr_pool_t* pool_;
    235     svn_ra_session_t* ra_session_;
    236   };
    237245
    238246}} // end of namespace svndigest and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.