;ELC
;;; Compiled by LTX@Xue-LingTaos-MacBook-Pro.local on Wed Mar 16 23:10:51 2011
;;; from file /Users/LTX/Projects/Emacs/emacs/lisp/cedet/ede/simple.el
;;; in Emacs version 24.0.50.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312\313\314\315\316\317\320&\321#\207" [require ede cedet-files add-to-list ede-project-class-files ede-project-autoload "simple-overlay" :name "Simple" :file ede/simple :proj-file ede-simple-projectfile-for-dir :load-type ede-simple-load :class-sym ede-simple-project t] 14)
#@57 *Directory where simple EDE project overlays are saved.
(custom-declare-variable 'ede-simple-save-directory '"~/.ede" '(#$ . -894) :group 'ede :type 'directory)
#@46 *File name used for simple project wrappers.
(custom-declare-variable 'ede-simple-save-file-name '"ProjSimple.ede" '(#$ . -1061) :group 'ede :type 'string)
#@160 Return a full file name to the project file stored in the current directory.
The directory has three parts:
  <STORAGE ROOT>/<PROJ DIR AS FILE>/ProjSimple.ede
(defalias 'ede-simple-projectfile-for-dir #[(&optional dir) "\206	\305\306!!\307\n!\fQ)\207" [dir default-directory d ede-simple-save-directory ede-simple-save-file-name file-name-as-directory expand-file-name cedet-directory-name-to-file-name] 3 (#$ . 1224)])
#@157 Load a project of type `Simple' for the directory DIR.
Return nil if there isn't one.
ROOTPROJ is nil, since we will only create a single EDE project here.
(defalias 'ede-simple-load #[(dir &optional rootproj) "\303!\304\211\203\305\n!\306	\307#\210	*\207" [dir obj pf ede-simple-projectfile-for-dir nil eieio-persistent-read eieio-oset :directory] 5 (#$ . 1656)])
(byte-code "\300\301\302\303\304$\210\300\305\306\307\310$\207" [eieio-defclass ede-simple-target (ede-target) nil ("EDE Simple project target.\nAll directories need at least one target.") ede-simple-project (ede-project eieio-persistent) ((extension :initform ".ede") (file-header-line :initform ";; EDE Simple Project")) ("EDE Simple project class.\nEach directory needs a project file to control it.")] 5)
(eieio-defmethod 'ede-commit-project '(((proj ede-simple-project)) #[(proj) "\302!\204\303\304P!\203\305!\210\202\306\307!\210\310	!\207" [ede-simple-save-directory proj file-exists-p y-or-n-p " doesn't exist.  Create? " make-directory error "No save directory for new project" eieio-persistent-save] 3 "Commit any change to PROJ to its file."]))
(eieio-defmethod 'ede-find-subproject-for-directory '(((proj ede-simple-project) dir) #[(proj dir) "\207" [proj] 1 "Return PROJ, for handling all subdirs below DIR."]))
(provide 'ede/simple)
