Re: Using balsa_app in libbalsa ??
- From: Pawel Salek <pawsa TheoChem kth se>
- To: nicoe wanadoo be
- Cc: balsa-list gnome org
- Subject: Re: Using balsa_app in libbalsa ??
- Date: Mon, 30 Apr 2001 09:58:12 +0200
On 2001-04-30 09:53 Evrard Nicolas wrote:
> I need to use balsa_app in a function from libbalsa. But I don't know
> if it is recommended because there isn't a function in libbalsa that
> use balsa_app. Maybe I should pass the argument I need ??
The libbalsa part of code is supposed to be encapsulated and never
include any header files from src. The code structure can be illustrated
as
|--------------------|
| src |
| |---------------|
| | libbalsa |
| | |------------|
| | | libmutt |
----------------------
(similarly, libmutt code should not refer to any libbalsa or src code).
So, you should rather pass it as an argument, or redesign your code to
fit in this layer scheme.
/Pawel
--
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]